How To Install The #SSLCertificate
#webhostingindia #godaddyindia #buysslcertificate#domainregistrationindia
1.Order your SSL certificate.
There are several services online that offer SSL certificates. Make sure to only order from a reputable service, since you and your customer’s security is at stake. Popular services include DigiCert, fgrade.com, Godaddy.fgrade.com, and more. The best service for you will vary depending on your needs (multiple certificates, enterprise solutions, etc.).
You will need to upload your CSR file to the certificate service when you order it. This will be used to generate the certificate for your server.
2. Download your certificates.
You will need to download the Intermediate Certificates from the service that you purchased your certificates from. You will receive your Primary Certificate via email or through the customer area of the website. Your key should look similar to this:
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
If the certificates are in a text file, you will need to change it to a .CRT file before uploading it
Check the keys that you download. There should be 5 dashes “-” on either side of the BEGIN CERTIFICATE and END CERTIFICATE lines. Also ensure that there are no extra spaces or line breaks inserted into the key.
3. Upload the certificates to your server.
The certificates should be put in a folder dedicated to certificates and key files. An example location would be /usr/local/ssl/crt/. All of your certificates need to be in the same folder.
4. Open the “httpd.conf” file in a text editor. Some versions of Apache have an “ssl.conf” file for the SSL certificates. Only edit one of the two if you have both. Add the following lines to the Virtual Host section:[2]
SSLCertificateFile /usr/local/ssl/crt/primary.crt
SSLCertificateKeyFile /usr/local/ssl/private/private.key
SSLCertificateChainFile /usr/local/ssl/crt/intermediate.crt
Save the changes to the file once you are finished. Re-upload the file if necessary.
5. Restart your server. Once the file has been changed, you can start using your SSL certificate by restarting your server. Most versions can be restarted by entering the following commands:
apachectlp stop
apachectl startssl