SSL Certificate in CentOS WebServer

Yum Install mod_ssl openssl # Generate private keyopenssl genrsa -out ca.key 1024 # Generate CSRopenssl req -new -key ca.key -out your_name.csr # Generate Self Signed Keyopenssl x509 -req -days 365 -in your_name.csr -signkey your_name.key -out your_name.crt # Copy the files to the correct locationscp ca.crt /etc/pki/tls/certs/your_name.crtcp ca.key /etc/pki/tls/private/your_name.keycp ca.csr /etc/pki/tls/private/your_name.csr vi /etc/httpd/conf.d/ssl.conf change path forSSLCertificateKeyFile … Read more