How to install an SSL Certificate on CentOS | SSL Dragon

Опубликовано: 06 Октябрь 2024
на канале: SSL Dragon
824
3

Save 10% on any SSL Certificate order on SSL Dragon by using the promo code YOUTUBE10 at checkout - https://www.ssldragon.com/ssl-certifi...

SSL Dragon blog article - https://www.ssldragon.com/how-to/inst...

---------------------------------------------------------------

The commands used in this video:

Fill in [ ] with your variables/file names. All commands are done with root privileges.

1. cat /etc/centos-release
2. yum clean all
3. yum repolist
4. hostname
5. cat /etc/hosts
6. openssl req -new -newkey rsa:2048 -nodes -keyout [private-key].key -out [server-name].csr
If OpenSSL isn't installed, or the command isn't found: yum install openssl -y
7. yum install httpd mod_ssl
8. Move the certificate files in their designated folders by using the following command:
mv [file] [designated location/folder]
9. vi /etc/httpd/conf.d/ssl.conf
10. systemctl start httpd
11. systemctl status httpd
12. netstat -tulpn | grep 443