close
Warning:
Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Oct 7, 2009, 10:28:09 PM (13 years ago)
- Author:
-
hank
- Comment:
-
generate new SSL cert
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v11
|
v12
|
|
39 | 39 | Note- This vim script is edited slightly to make symmetric encryption |
40 | 40 | the default. This is done by setting g:GPGPreferSymmetric= '''1''' |
41 | | in the script. |
| 41 | in the script. |
| 42 | |
| 43 | == Generate a new SSL Cert == |
| 44 | 1) Generate the key (2048 bit) |
| 45 | {{{ |
| 46 | openssl genrsa -des3 -out silverfilecorp.com.key 2048 |
| 47 | }}} |
| 48 | |
| 49 | Specify anything for the key passphrase, ie "silver", it will be removed later. |
| 50 | |
| 51 | 2) Generate the certificate request for the root authority - i.e. godaddy |
| 52 | {{{ |
| 53 | openssl req -new -key silverfilecorp.com.key -out silverfilecorp.com.csr |
| 54 | }}} |
| 55 | |
| 56 | 3) Remove passphrase from key. This will enable apache to back online without |
| 57 | any intervention. |
| 58 | {{{ |
| 59 | cp silverfilecorp.com.key silverfilecorp.com.key.encrypted |
| 60 | openssl rsa -in silverfilecorp.com.key.encrypted -out silverfilecorp.com.key |
| 61 | }}} |
42 | 62 | |
43 | 63 | === Disk Usage Tools === |