Categories: DevelopmentHosting

First steps to Install a Comodo SSL certificate

Simple SSL certificates are easily obtained and installed these days. Here some simple first steps to get a Comodo SSL certificate installed.

  1. Generate a Certificate Signing Request (CSR) with OpenSSL
    1. openssl genrsa –des3 –out yourdomain_com.key 2048
    2. openssl req -new -key yourdomain_com.key -out yourdomain_com.csr
  2. Choose and register your certificate, with the CSR created.
  3. You will receive your Domain Certificate and the Comodo CA Certificates
  4. Many apps need your Certificate Authority Chain (CA) in a single file, something that you easily forget ! Combine the files from Comodo into a single file:
    1. cat yourdomain_com.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > cacert.pem
  5. Now you can install your files and activate SSL. Documentation: Apache / NGINX
  6. Some hosts allow you to add certificates through a simple interface, asking for Certificate, Private Key, CSR and the CA chain.

VERIFY YOUR SSL SETUP

Some options to check your SSL setup:

  1. https://verifysslcertificate.com
  2. https://www.ssllabs.com/ssltest/analyze.html
  3. https://sslanalyzer.comodoca.com/
    1. openssl s_client -showcerts -connect yourdomain.com:443

     

CREATE CERTIFICATE CHAIN AUTOMATICALLY

This can be done manually, as shown above or you can use a shell script,  which downloads the certificates for you and combines them. SSL certificate chain resolver – This shell script downloads all intermediate CA certificates for a given SSL server certificate. There is even an online version, but I rather do that on my own machine :) … certificatechain.io

Enjoy coding …

Alex

I am a full-stack developer. I love programming,  design and know my way around server architecture as well.  I would never feel complete, with one of these missing. I have a broad range of interests, that’s why I constantly dive into new technologies and expand my knowledge where ever required. Technologies are evolving fast and I enjoy using the latest. Apart from that, I am a peace loving guy who tries to have people around him that think the same.  I truly believe in the principle: “If you help someone, someone will help you, when you need it."

Recent Posts

Particle Network Animations in Javascript

What are particle animations? Particle network animations in JavaScript typically involve creating visual representations of… Read More

14 hours ago

B&B / Hotel Booking Solutions for WordPress | 2024

BOOKING SOLUTIONS 202x This is my take on a subset of booking, appointment, PMS or… Read More

4 weeks ago

WordPress Cron + WP-CLI + Ntfy

THE GOAL Create a system cron for WordPress, that is accessible and can be easily… Read More

2 months ago

2024 is here and now :)

2024, what's cooking? Slowly getting into the 2024 spirit. 3 projects coming to a close… Read More

4 months ago

2023 ends and whats next !

Short look back at 2023 This has been a busy and interesting year. I am… Read More

4 months ago

cubicFUSION Grid Tweaker – Elementor Grid made easy.

Elementor Pro provides grid containers as an experimental feature. The options provided are limited, when… Read More

5 months ago