Apache Uncategorized

Verifying the .crt and .key

Verifying the .crt and .key

Everybody had that panic moment when apache refusing to start saying ‘private key doesn’t match while installing SSL certificate.

Here is how to check whether the .crt and .key you have is matching or not.

      #openssl x509 -noout -modulus -in leosimon.crt | openssl md5
         (stdin)= 038475df33aeb7c2bb7645214b420c09

     #openssl rsa -noout -modulus -in leosimon.key | openssl md5
        (stdin)= 038475df33aeb7c2bb7645214b420c09

note: replace the .crt and .key filenames

If both the outputs display the same information then they are matching ones and you are all set to proceed with install SSL.

Related Articles

  • Prevent hot linking of images.

    Hot linking is displaying an image on a website by linking to the same image on another website, rather than saving a copy of it on the website on which...
  • SSL Certificate Installation for Courier IMAP and POP

    This guide will provide you information on how to setup and configure SSL certificates for the courier IMAP mail server.   Prior to the installation you will need to purchase...
  • Intro to jQuery, Part II – Events

    Introduction Welcome! In the first part of the series, we went over some basic jQuery syntax and concepts- however, now that you’ve got your bearings, I’m sure you’re ready to...
  • LAMP STACK

    What is a LAMP Stack? “LAMP stack is a popular open source web platform commonly used to run dynamic web sites and servers. It includes Linux, Apache, MySQL, and PHP/Python/Perl...