English Spanish
# cp myhost.com.crt /etc/pki/tls/certs/
# cp myhost.com.key /etc/pki/tls/private/myhost.com.key
The Certificate Signing Request(CSR) can be deleted as it becomes useless once you have obtained your certificate. Alternatively you can put it along your private key:
# cp myhost.com.csr /etc/pki/tls/private/myhost.com.csr
Set the correct context of these files for SELinux:
# restorecon -RvF /etc/pki
The last step is to configure the webserver of your host for the TLS protocol using the key and the certificate files you have just created - see xref:The_Apache_HTTP_Server.adoc#mod-ssl-configuration[mod_ssl configuration].
To learn more about the Apache HTTP Server, see the following resources.
Installed Documentationindexterm:[Apache HTTP Server,additional resources,installed documentation]
`httpd(8)` — The manual page for the `httpd` service containing the complete list of its command-line options.
`apachectl(8)` — The manual page for the Apache HTTP Server Control Interface.
Installable Documentationindexterm:[Apache HTTP Server,additional resources,installable documentation]
link:++http://localhost/manual/++[] — The official documentation for the Apache HTTP Server with the full description of its directives and available modules. Note that in order to access this documentation, you must have the [package]*httpd-manual* package installed, and the web server must be running.
Before accessing the documentation, issue the following commands as `root`:
# dnf install httpd-manual
# apachectl graceful
Online Documentationindexterm:[Apache HTTP Server,additional resources,useful websites]
link:++https://httpd.apache.org/++[] — The official website for the Apache HTTP Server with documentation on all the directives and default modules.
link:++http://www.modssl.org/++[] — The official website for the [application]*mod_ssl* module.
link:++https://www.openssl.org/++[] — The OpenSSL home page containing further documentation, frequently asked questions, links to the mailing lists, and other useful resources.