An RSA key is a private key based on RSA algorithm, used for authentication and an symmetric key exchange during establishment of an SSL/TLS session. The RSA private key in PEM format (the most common format for X.509 certificates, CSRs and cryptographic keys) can be generated from the command line using the openssl genpkey utility.
openssl
How To: Create Self-Signed Certificate – OpenSSL
What is a self-signed SSL certificate? A self-signed certificate is a certificate that is not signed by a trusted authority. Nevertheless, the self-signed certificate provides the same level of encryption as a $100500 certificate signed by a trusted authority. In this article i will show how to create a self-signed certificate that can be used […]
OpenSSL: Check If Private Key Matches SSL Certificate & CSR
When you are dealing with lots of different SSL Certificates, it is quite easy to forget which certificate goes with which Private Key. Or, for example, which CSR has been generated using which Private Key. From the Linux command line, you can easily check whether an SSL Certificate or a CSR match a Private Key […]
HowTo: Create CSR using OpenSSL Without Prompt (Non-Interactive)
In this article you’ll find how to generate CSR (Certificate Signing Request) using OpenSSL from the Linux command line, without being prompted for values which go in the certificate’s subject field. Below you’ll find two examples of creating CSR using OpenSSL. In the first example, i’ll show how to create both CSR and the new […]
OpenSSL: Check SSL Certificate Expiration Date and More
From this article you will learn how to connect to a website over HTTPS and check its SSL certificate expiration date from the Linux command-line. Besides of validity dates, i’ll show how to view who has issued an SSL certificate, whom is it issued to, its SHA1 fingerprint and the other useful information. Linux users […]
OpenSSL: Find Out SSL Key Length – Linux Command Line
From the following article you’ll learn how to find out a key length of an SSL Certificate from the Linux command line, using OpenSSL utility. The information about the key size can be retrieved from the several sources. We can get the information about key length from the file with a private key, from the […]
Moving SSL Certificate from IIS to Apache
This procedure will help you to move or copy your SSL certificate, installed on an IIS server to an Apache server. Step 1: Export IIS certificate into a .PFX file Run mmc.exe Click the ‘Console’ menu and then click ‘Add/Remove Snap-in’. Click the ‘Add’ button and then choose the ‘certificates’ snap-in and click on ‘Add’. […]
HowTo: Decode CSR
A Certificate Authority will use a CSR to create your SSL certificate. What is a CSR? A CSR or ‘Certificate Signing Request’ is a block of encrypted text, that is generated on the server that the certificate will be used on. It contains information that will be included in your certificate, such as your organization […]
HowTo: Decode SSL Certificate
Waht is an SSL Certificate? SSL Certificate provides security for your website by encrypting communications between the server and the person visiting the website. It contains information about your Organization and Certificate Authority. It also contains the public key. Run these OpenSSL commands, to decode your SSL Certificate, and verify that it contains the correct […]
Creating Certificate Signing Request — CSR Generation
A Certificate Authority will use a CSR to create your SSL certificate. What is a CSR? A CSR or ‘Certificate Signing Request’ is a block of encrypted text, that is generated on the server that the certificate will be used on. It contains information that will be included in your certificate, such as your organization […]