]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Updates information for SSL configuration in Ceph Object Gateway installation. 3260/head
authorNilamdyuti Goswami <ngoswami@redhat.com>
Fri, 26 Dec 2014 14:28:57 +0000 (19:58 +0530)
committerNilamdyuti Goswami <ngoswami@redhat.com>
Fri, 26 Dec 2014 14:28:57 +0000 (19:58 +0530)
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
doc/install/install-ceph-gateway.rst

index a1c1799bea8538e2c7623b1dad364af017b7518d..1be0534949372630de034687858658826e72f8f7 100644 (file)
@@ -271,15 +271,36 @@ To enable SSL for RPM-based systems, execute the following steps:
 
        sudo yum install mod_ssl openssl
 
-#. Ensure the SSL module is enabled.
+#. Generate private key. ::
 
-#. Generate a certificate and copy it to the appropriate locations. ::
+       openssl genrsa -out ca.key 2048
+
+#. Generate CSR. ::
+
+       openssl req -new -key ca.key -out ca.csr
+
+#. Generate a certificate. ::
 
        openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
+
+#. Copy the files to appropriate locations. ::
+
        cp ca.crt /etc/pki/tls/certs
        cp ca.key /etc/pki/tls/private/ca.key
        cp ca.csr /etc/pki/tls/private/ca.csr
 
+#. Update the Apache SSL configuration file ``/etc/httpd/conf.d/ssl.conf``.
+
+       Give the correct location of ``SSLCertificateFile``. ::
+
+               SSLCertificateFile /etc/pki/tls/certs/ca.crt
+
+       Give the correct location of ``SSLCertificateKeyFile``. ::
+
+               SSLCertificateKeyFile /etc/pki/tls/private/ca.key
+
+       Save the changes.
+
 #. Restart Apache. ::
 
        sudo /etc/init.d/httpd restart