- INDEX
- Installation Notes
Installation Notes
Take the installation of SSD certificate on Apache server (CentOS) as an example
After your certificate is verified, you can go to【My Certificate】to download the SSL and install it on your Apache server.
Take the installation of SSD certificate on Apache server (CentOS) as an example:-
1. Create a directory to put your certificate。
# mkdir /etc/cert
- 2. Upload your intermediate certificate, primary certificate and key file into the directory.
-
3. Open the Apache Configuration with your familiar editor. Ex: vi、vim、nano etc.
# mkdir /etc/cert
-
4. Find the
<VirtualHost>
part in httpd.conf. Copy the following configuration and paste it below the existing<VirtualHost>
part.* Notes:- 1. You need to replace the Yellow word with your own server IP, domain name, and SSL filename.
- 2. File location can be replaced with Step 1 which you created
- 3. Be sure your firewall is accepted the 443 port.
<VirtualHost 127.0.0.1:443> DocumentRoot /var/www/html ServerName example.com SSLEngine on SSLCertificateFile /etc/cert/example.com-crt.pem SSLCertificateKeyFile /etc/cert/example.com-key.pem SSLCertificateChainFile /etc/cert/chain.pem </VirtualHost>
-
5. Now you can restart Apache and then use https service.
# systemctl restart httpd