Changes between Version 12 and Version 13 of Internal/LoginService/SSL
- Timestamp:
- Jul 16, 2013, 1:29:20 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/LoginService/SSL
v12 v13 7 7 8 8 === Generate self-signed certificate === 9 To create the self-signed certificate, run the following command 9 Create a certificate: 10 10 {{{ 11 openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt 11 mkdir /etc/apache2/ssl 12 openssl req -x509 -nodes -days 1825 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt 12 13 }}} 13 The above command will prompt you to enter the passphrase. Once you enter the correct passphrase, your certificate will be created and it will be stored in the server.crt file14 === Installing the Certificate ===15 14 16 You can install the key file server.key and certificate file server.crt, or the certificate file issued by your CA, by running following commands17 18 {{{19 sudo cp server.crt /etc/ssl/certs20 sudo cp server.key /etc/ssl/private21 }}}22 15 === Enabling SSL Support === 23 16 To use the SSL facilities of Apache2 you must enable the module mod_ssl … … 69 62 }}} 70 63 === Turn on the SSL engine. === 71 Make sure the following are in your default-ssl file. The SSLengine should be on, and the cert and key should be properly path ed:64 Make sure the following are in your default-ssl file. The SSLengine should be on, and the cert and key should be properly path-ed: 72 65 73 66 {{{ 74 67 SSLEngine On 75 SSLCertificateFile /etc/apache2/ssl/ server.crt76 SSLCertificateKeyFile /etc/apache2/ssl/ server.key68 SSLCertificateFile /etc/apache2/ssl/apache.crt 69 SSLCertificateKeyFile /etc/apache2/ssl/apache.key 77 70 }}} 78 71