Wait! Don't Leave Without Securing Your Site
Get enterprise - grade SSL certificates at a fraction of retail prices.
Save 10% on your first order, by entering coupon code SAVE10 during checkout.

To install the SSL certificate on a server, you must upload the SSL certificate files, including the root and intermediate certificates (usually included in a CA Bundle file), from your device to the server of the website you want to encrypt. As there isn’t a universal process for SSL certificate installation, the quickest way to enable HTTPS on any server is by following our SSL installation guides.
Copy Link
You install the SSL certificate on your website’s hosting server. The file directory will vary from system to system, but it’s usually indicated next to the “Upload Certificate” section. Some platforms will automatically upload the certificate in the correct folder, while other clients may support only OpenSSL commands for certificate installation.
Copy Link
To install the SSL certificate on your website, you must get it from a valid CA by submitting the Certificate Signing Request. After the CA validates your application, you will receive the installation files via email. Your next step is to download them on your local computer and then upload the files to the website server. This is a brief explanation of how to enable SSL.
Copy Link
The cost of installing an SSL certificate on a website will vary depending on the type of certificate you choose and the Certificate Authority. To buy a certificate costs between $7 to hundreds of dollars per year.
The cost of having someone install an SSL certificate on your website will depend on their specific skills and the complexity of your particular installation. You can find web developers or IT professionals who specialize in SSL certificate installations and negotiate a fee with them based on their experience and project scope. Their costs will range from $20 to a few hundred dollars.
Copy Link
The amount of time it takes to install an SSL certificate will depend on a few factors such as the web server platform, type of Certificate Authority, and complexity of the installation. Generally speaking, an SSL certificate can be installed in a few minutes if all of the necessary information is available. If additional steps are required, it may take longer to complete the installation.
Copy Link
Installing an SSL certificate is quite easy and can usually be done in a few simple steps. First, you will need to generate a Certificate Signing Request (CSR) file and submit it to the Certificate Authority. Once the SSL certificate is issued, you will then need to install it on the web server. Depending on the server, the installation process may vary, but the documentation provided by the hosting company or CA should make this straightforward.
Copy Link
You can verify the integrity of an SSL certificate and private key pair with the OpenSSL utility and its command lines.
The process consists of four steps:
Verify the private key integrity
Run the following command: openssl rsa -in [key-file.key] -check -noout
Here’s an example of a corrupt private key:
Other errors resulting from an altered/forged key are listed below:
If you encountered any of the above errors, your private key has been tampered with and may not work with your public key. Consider creating a new private key and requesting a replacement certificate.
Here’s an example of the private key which meets the integrity:
Verify the modulus value matching with Private Key and SSL certificate pair
Note: The modulus of the private key and certificate must match exactly.
To view the certificate Modulus run the command:
openssl x509 -noout -modulus -in [certificate-file.cer]
To view the private key Modulus run the command:
openssl rsa -noout -modulus -in [key-file.key]
Encrypt with the public key from and decrypt with the private key
1. Get the public key from certificate:
openssl x509 -in [certificate-file.cer] -noout -pubkey > certificatefile.pub.cer
2. Encrypt test.txt file content using public key
Create a new file called test.txt file (you can use Notepad) with the content “message test”. Perform the following command to create an encrypted message to cipher.txt file.
openssl rsautl -encrypt -in test.txt -pubin -inkey certificatefile.pub.cer -out cipher.txt
3. Decrypt from cipher.txt using the private key
Perform the following command to decrypt cipher.txt content.
openssl rsautl -decrypt -in cipher.txt -inkey [key-file.key]
Ensure that you can decrypt your cipher.txt file content to your terminal. The output from the terminal must match the content on the test.txt file.
If the content does not match, the private key has been tampered with and may not work with your public key. Consider creating a new private key and requesting a replacement certificate. Here’s an example of a decrypted message:
4. Confirm the file integrity signed with the private key
Run the following command to sign the test.sig and test.txt file with your private key:
openssl dgst -sha256 -sign [key-file.key] -out test.sig test.txt
Now, verify the signed files with your public key extracted from step 1.
openssl dgst -sha256 -verify certificatefile.pub.cer -signature test.sig test.txt
Make sure that the output from the terminal is exactly like in the example below:
If your private key is tampered with, you will receive the following message:
In this case, you should create a new private key and request a replacement certificate.
Source: Digicert’s Knowledge Base
Copy Link
Inside your ~/public directory on your server, you might find the .well-known folder. Well-known URIs are Uniform Resource Identifiers for well-known services or information available consistently across servers at URLs.
Some servers create the .well-known folder automatically, but sometimes, you may have to add it manually. This directory acts as a web-based protocol to fetch site metadata about a host before making a request.
When ordering an SSL Certificate, you must prove domain ownership as part of DCV. If you choose the HTTP/HTTPS method, you’ll have to create the .well-known directory, the folder where you must upload a TEXT file for the CA to scan and approve your SSL request.
The file should be accessible via a live website link. After you add the validation file, the CA crawler system will scan your website and look for the file. Once it finds it, you should pass domain validation within minutes.
Copy Link
To create the well-known folder, you’ll need access to your server via an SFTP client, a web hosting control panel, or any other appropriate means. Here’s how to create the .well-known folder on the most popular platforms:
The instructions below are valid for Ubuntu, Debian, and CentOS servers.
Windows-based servers do not allow you to place a dot in a folder name, therefore you need to follow these steps:
You can create a .well-known folder in WordPress in three different ways.
We don’t recommend using a plugin as it may cause compatibility and security issues over time. Instead, use our instructions above to create the .well-known folder in cPanel, the most popular hosting panel.
If you don’t have cPanel, use an SFTP client. Connect to your server and inside your ~/public folder look for the .well-knwon directory. If it’s not there, right-click on the public folder, choose Create directory, and name the new directory .well-known.
Connect to your server via the built-in FTP client or the Command Line Interface.
You can use SSH and the Secure Copy protocol to upload the TXT file.
scp AC3E5D6I8G12935LSJEIK.txt
your_username@hostname:tld://Library/WebServer/Documents/.well-known/pki-validation
Where ‘AC3E5D6I8G12935LSJEIK.txt’ is the validation file name, ‘your_username’ is the username of your server account, ‘hostname.tld’ is your Mac OSX server hostname, and ‘/Library/WebServer/Documents/’ is the default directory of the document root folder.
For all server types, if you did everything correctly, you should be able open the following URL and see the hash code along with “comodoca.com” in any web browser:
http://mywebsite.com/.well-known/pki-validation/HashFileName.txt
Copy Link
Yes, you can look at what information your CSR includes, by using our CSR Decoder tool. It is doing a process which is opposite to encrypting it.
Copy Link