Technical review on getting-started-with-apache-http-server
Added sudo to lines where needed Changed "apachectl reload" to "sudo systemctl reload httpd.service" Added / to the end of /etc/httpd/conf.d Technical review completed and is now accurate.
This commit is contained in:
parent
2e382b872c
commit
150aba0f91
6 changed files with 52 additions and 38 deletions
|
@ -18,7 +18,7 @@ To enable TLS/SSL support, download and install one of the following packages:
|
|||
The https://apps.fedoraproject.org/packages/mod_ssl[mod_ssl] package will be automatically enabled post installation. Install the https://apps.fedoraproject.org/packages/mod_ssl[mod_ssl] package using the following command:
|
||||
|
||||
----
|
||||
# dnf install mod_ssl -y
|
||||
# sudo dnf install mod_ssl -y
|
||||
----
|
||||
|
||||
|
||||
|
@ -37,8 +37,8 @@ If you already have a certificate generated on another computer, do the followin
|
|||
. Move the certificate and the key file to the correct folder
|
||||
+
|
||||
----
|
||||
# mv key_file.key /etc/pki/tls/private/myhost.com.key
|
||||
# mv certificate.crt /etc/pki/tls/certs/myhost.com.crt
|
||||
# sudo mv key_file.key /etc/pki/tls/private/myhost.com.key
|
||||
# sudo mv certificate.crt /etc/pki/tls/certs/myhost.com.crt
|
||||
----
|
||||
+
|
||||
. Ensure that the following parameters are correct:
|
||||
|
@ -53,15 +53,15 @@ If you already have a certificate generated on another computer, do the followin
|
|||
.. Ownership
|
||||
+
|
||||
----
|
||||
# chown root.root /etc/pki/tls/private/myhost.com.key
|
||||
# chown root.root /etc/pki/tls/certs/myhost.com.crt
|
||||
# sudo chown root.root /etc/pki/tls/private/myhost.com.key
|
||||
# sudo chown root.root /etc/pki/tls/certs/myhost.com.crt
|
||||
----
|
||||
+
|
||||
.. Permissions
|
||||
+
|
||||
----
|
||||
# chmod 0600 /etc/pki/tls/private/myhost.com.key
|
||||
# chmod 0600 /etc/pki/tls/certs/myhost.com.crt
|
||||
# sudo chmod 0600 /etc/pki/tls/private/myhost.com.key
|
||||
# sudo chmod 0600 /etc/pki/tls/certs/myhost.com.crt
|
||||
----
|
||||
|
||||
After installing the existing certificate, set up the certificate using <<mod_ssl configuration>>.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue