Hi all,
- I bought a SSL certificate from GoDaddy.com for just $5.99USD (big saving from $107.99...)
- My key and the CSR files
server.domain.org.key
server.domain.org.csr
- The certificate zip file contains 2 files
123456789abcdef2.crt
gd_bundle-g2-g1.crt
- I check where are the certificate and the key files
## cat /etc/httpd/conf/httpd.conf | grep SSLCertificate
SSLCertificateFile /home/e-smith/ssl.crt/server.domain.org.crt
SSLCertificateKeyFile /home/e-smith/ssl.key/server.domain.org.key
- Just in case, I copy the original files to save them in /root/Certificate/
## cp /home/e-smith/ssl.crt/server.domain.org.crt /root/Certificate/
## cp /home/e-smith/ssl.key/server.domain.org.key /root/Certificate/
- I check the version of apache
## rpm -qa | grep apache
e-smith-apache-2.4.0-12.el6.sme.noarch
- From GoDaddy howto
-
https://fr.godaddy.com/help/installation-dun-certificat-ssl-dans-apache-centos-5238Apache version < 2.4.8
SSLCertificateFile -- path to certificate file
SSLCertificateKeyFile -- path to the key file
SSLCertificateChainFile -- path for the bundle file
- I copy the certificate and the key files to their respective directory
## cp 123456789abcdef2.crt /home/e-smith/ssl.crt/server.domain.org.crt
## cp server.domain.org.key /home/e-smith/ssl.key/server.domain.org.key
- I copy the bundle file in the same directory as the crt file
## cp gd_bundle-g2-g1.crt /home/e-smith/ssl.crt/gd_bundle-g2-g1.crt
- Updating the SME DataBase
-- Certificate
## config setprop modSSL crt /home/e-smith/ssl.crt/server.domain.org.crt
-- Private key
## config setprop modSSL key /home/e-smith/ssl.key/server.domain.org.key
-- Bundle
## config setprop modSSL CertificateChainFile /home/e-smith/ssl.crt/gd_bundle-g2-g1.crt
- I Signal the modifications
## signal-event domain-modify ; signal-event email-update
- Checking to see if everything is OK and should give
## config show modSSL
modSSL=service
CertificateChainFile=/home/e-smith/ssl.crt/gd_bundle-g2-g1.crt
TCPPort=443
access=public
crt=/home/e-smith/ssl.crt/server.domain.org.crt
key=/home/e-smith/ssl.key/server.domain.org.key
status=enabled
My goal: incorporate payments from Stripe, which require a certificate, in WooCommerce
Question:
Is that the proper and safe way to do?
Thank you all,
Michel-André