Viewing Components of Certificate Signing Request

This section provides a tutorial example on how to view different components of a CSR (Certificate Signing Request) for your public key with OpenSSL.

Here is how to see the components of a certificate signing request:

>openssl req -in herong.csr -noout -text -config openssl.cnf
Certificate Request:
    Data:
        Version: 0 (0x0)
        Subject: C=CN, ST=PN, L=LN, O=ON, OU=UN, CN=Herong Yang
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
            RSA Public Key: (512 bit)
                Modulus (512 bit):
                    00:a9:e6:19:c6:ee:88:01:86:d9:72:9e:93:92:db:
                    57:01:7b:02:84:fc:1e:e3:57:5e:2a:7b:2b:25:9e:
                    bd:ba:c5:95:2c:49:59:28:df:a6:67:86:26:8e:ff:
                    36:cc:3a:84:5c:28:af:6f:11:c8:0c:b5:c2:c5:b9:
                    04:d6:0e:5d:d1
                Exponent: 65537 (0x10001)
        Attributes:
            challengePassword        :myreq
    Signature Algorithm: md5WithRSAEncryption
        80:be:77:39:65:0f:24:db:70:c1:76:e3:b6:c7:99:a5:c7:af:
        ae:98:5a:73:98:f8:60:f1:65:08:a9:f7:df:6f:bd:77:aa:f7:
        bb:0b:f2:0d:71:6e:ad:ee:52:5a:2b:a7:2a:c0:fd:0e:4c:8f:
        c1:43:18:58:0b:10:03:e0:e5:a3

Some interesting notes here:

Last update: 2013.

Table of Contents

 About This Book

 Cryptography Terminology

 Cryptography Basic Concepts

 Introduction to AES (Advanced Encryption Standard)

 Introduction to DES Algorithm

 DES Algorithm - Illustrated with Java Programs

 DES Algorithm Java Implementation

 DES Algorithm - Java Implementation in JDK JCE

 DES Encryption Operation Modes

 DES in Stream Cipher Modes

 PHP Implementation of DES - mcrypt

 Blowfish - 8-Byte Block Cipher

 Secret Key Generation and Management

 Cipher - Secret Key Encryption and Decryption

 Introduction of RSA Algorithm

 RSA Implementation using java.math.BigInteger Class

 Introduction of DSA (Digital Signature Algorithm)

 Java Default Implementation of DSA

 Private key and Public Key Pair Generation

 PKCS#8/X.509 Private/Public Encoding Standards

 Cipher - Public Key Encryption and Decryption

 MD5 Mesasge Digest Algorithm

 SHA1 Mesasge Digest Algorithm

 OpenSSL Introduction and Installation

 OpenSSL Generating and Managing RSA Keys

 OpenSSL Managing Certificates

OpenSSL Generating and Signing CSR

 Why Certificates Need to Be Signed by CA?

 Generating Certificate Signing Request (CSR)

Viewing Components of Certificate Signing Request

 Signing a Certificate Signing Request

 OpenSSL Validating Certificate Path

 "keytool" and "keystore" from JDK

 "OpenSSL" Signing CSR Generated by "keytool"

 Migrating Keys from "keystore" to "OpenSSL" Key Files

 Certificate X.509 Standard and DER/PEM Formats

 Migrating Keys from "OpenSSL" Key Files to "keystore"

 Using Certificates in IE (Internet Explorer)

 Using Certificates in Firefox

 Using Certificates in Google Chrome

 Outdated Tutorials

 References

 PDF Printing Version