SSL Certificates

How to install an SSL certificate on Node.js

Once a CSR code is generated and the certificate is issued, the codes with your domain certificate and CA bundle will be emailed to you by Certificate Authority, or you can download them from Amber IT The installation implies performing 2 steps: uploading the required files to a needed directory on a server and creating an HTTPS server in node.js environment. The main idea of node.js is creating an endpoint asynchronous server (something like a responder) in the command-line interface. Thus, your server code should be corrected with the following lines: var https = require(‘https’); var fs = require(‘fs’); var options = { key: fs.readFileSync(‘/path/to/private.key’), cert: fs.readFileSync(‘/path/to/certificate.crt’), ca: fs.readFileSync (‘/path/to/’) }; https.createServer(options, function (req, res) { where: /path/to/ – full path to the uploaded .ca-bundle file /path/to/private.key – full path to your private key generated along with CSR and stored on the server /path/to/certificate.crt – full path to the end-entity certificate. Note that a hostname…

Read time: 3 mins Read more »

What is Comodo CA rebrands as Sectigo

Comodo CA (Certification Authority), our SSL certificate provider has changed their brand name to Sectigo CA as of November 2018. Comodo CA has been our exclusive partner since December 2016. Comodo CA is the largest commercial SSL provider and has issued more than 100 million TLS/SSL certificates. What has changed? Company and brand name. Trust logo image and snippet. The new Comodo site address is SSL DCV and validation messages will eventually be sent from email addresses at This change does not affect the functionality of the existing SSL certificates or the certificates that are going to be issued. Please find more information below. FAQ Should I do anything with my active Comodo CA certificate?      No. There is no need to reissue or reinstall your SSL certificate. Will Comodo CA be displayed as the certificate issuer in users’ web browsers?      Yes. Comodo CA will remain as the Certificate Authority shown in browsers…

Read time: 1 min Read more »

Instruction on how to install an SSL certificate on Google Cloud Platform

After you have purchased an SSL certificate you will need to activate it and once your certificate passed the activation, validation and was issued by the Certificate Authority, you can proceed with the installation steps. SSL certificate installation for your Google Cloud application can be performed in a few steps: –    Download the archive with the certificate files from your Amber IT account or from the email sent to you from the Certificate Authority. (The ZIP archive will contain yourdomain.crt, yourdomain.p7b, and files. Only yourdomain.crt and files have to be used during the installation). Sign into your Google Cloud account Navigate to Products & services >> App Engine: Open Settings in the App Engine menu and click on the SSL certificates tab on the next page: Upload a new certificate is an option that we are looking for. It will open the Add a new SSL certificate menu upon a click. The next…

Read time: 2 mins Read more »

How to generate a SSL certificate CSR on Google Cloud platform

A Certificate Signing Request (CSR) can be generated right from your Google Cloud platform account. This can be done with the help of a built-in Command Line Console available in your account. It’s called “Google Cloud Shell”. Cloud Shell is only available for the accounts that have a Project created. More information on how to enable Google Cloud Shell can be found here. Once Cloud Shell is enabled, you are ready to proceed with the CSR generation. Click on the Activate Google Cloud Shell button from the top menu bar to open the console: The console window will appear at the bottom of the page: As provided on the screenshot, the console will open the current user’s home directory – /home/user. A Certificate Signing Request can be generated in this directory or any other directory convenient for you. Run the following OpenSSL command to create a CSR: openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key…

Read time: 3 mins Read more »

How to generate a CSR code for SSL certificate in cPanel

Before you start. There are a few steps required to generate a CSR in your hosting provider's cPanel. Following them, you will successfully arrive at the SSL activation step. 1. Log in to your hosting provider's cPanel account. 2. In the Security section click on SSL/TLS Manager. 3. Click on Generate, view, or delete SSL certificate signing requests within the Certificate Signing Requests (CSR) menu.On the next screen, you’ll need to fill out the certificate details as follows: *All obligatory fields are marked with the asterisks. 1) Leave “Generate a New 2048 bit key” selected for the Key*; 2) Specify the domain (subdomain) the certificate will be used for in the Domains* field; Important: Ensure you use a Fully Qualified Domain Name (FQDN). Important: If you have a Wildcard certificate, the domain should be specified with an asterisk to secure the subdomains, e.g. “*”. The Wildcard certificate activated using such CSR will be valid for…

Read time: 2 mins Read more »

How to generate a CSR code for SSL Certificates on Node.js

In this tutorial, we will have a look at generating a CSR code for SSL certificate on Node.js Certificate Signing Request (CSR) is an encoded text which contains details about the domain a certificate needs to be issued for and your contact details. The CSR code can be generated on Node.js with the help of the OpenSSL utility. OpenSSL is usually included in the default package and does not require an additional installation. If there is no OpenSSL in the modpack, it can be downloaded with the following commands: For Debian/Ubuntu based operation systems: sudo apt-get install openssl For Centos/Rhel (Red Hat) based operation systems: sudo yum install openssl Alternatively, the OpenSSL utility can be downloaded here. In order to generate a CSR code and an RSA private key on Node.js, it is necessary to run the following command: openssl req -new -newkey rsa:2048 -nodes -keyout domain.key -out domain.csr It is recommended to replace domain.key…

Read time: 3 mins Read more »

Warning: file_get_contents([YOUR SITE URL]): failed to open stream: Connection refused in /var/www/vhosts/ on line 821