English Spanish
After installing the existing certificate, set up the certificate using <<mod_ssl configuration>>.
Create a copy of the `/etc/httpd/conf.d/ssl.conf` file and renew the file to `z-ssl-local.conf`.
Edit the following lines in the `z-ssl-local.conf` file:
Ensure that the following parameters are correct:
Generating a new certificate
https://apps.fedoraproject.org/packages/mod_gnutls[mod_gnutls], based on https://www.gnutls.org/[GnuTLS]
https://apps.fedoraproject.org/packages/mod_nss[mod_nss], based on https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS[NSS]
https://apps.fedoraproject.org/packages/mod_ssl[mod_ssl], based on https://www.openssl.org[OpenSSL]
If you already have a certificate generated on another computer, do the following:
Insert these lines between `<VirtualHost hostname:port>` and `</VirtualHost>`:
Installing an existing certificate
Installing mod_ssl
mod_ssl configuration
Move the certificate and the key file to the correct folder
Open that virtual host's configuration file `/etc/httpd/conf.d/hostname.conf`.
Ownership
Permissions
restorecon /etc/pki/tls/private/myhost.com.key
restorecon /etc/pki/tls/certs/myhost.com.crt
Securing Apache HTTPD
SELinux contexts