Changes between Version 12 and Version 13 of Internal/LoginService/SSL


Ignore:
Timestamp:
Jul 16, 2013, 1:29:20 PM (11 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/LoginService/SSL

    v12 v13  
    77
    88 === Generate self-signed certificate ===
    9 To create the self-signed certificate, run the following command
     9Create a certificate:
    1010{{{
    11 openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
     11mkdir /etc/apache2/ssl
     12openssl req -x509 -nodes -days 1825 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
    1213}}}
    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 file
    14  === Installing the Certificate ===
    1514
    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 commands
    17 
    18 {{{
    19 sudo cp server.crt /etc/ssl/certs
    20 sudo cp server.key /etc/ssl/private
    21 }}}
    2215 === Enabling SSL Support ===
    2316To use the SSL facilities of Apache2 you must enable the module mod_ssl
     
    6962}}}
    7063 === 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 pathed:
     64Make sure the following are in your default-ssl file. The SSLengine should be on, and the cert and key should be properly path-ed:
    7265
    7366{{{
    7467SSLEngine On
    75 SSLCertificateFile /etc/apache2/ssl/server.crt
    76 SSLCertificateKeyFile /etc/apache2/ssl/server.key
     68SSLCertificateFile /etc/apache2/ssl/apache.crt
     69SSLCertificateKeyFile /etc/apache2/ssl/apache.key
    7770}}}
    7871