Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (70)
EC Keys (976)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (3306)
Revoked Certificates (16)
Root CA (85)
RSA Keys (2648)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
OpenSSL "req -pubkey" - Extract Public Key from CSR
How to extract the public key from a CSR using OpenSSL "req -pubkey" command?
✍: FYIcenter.com
If you want to extract the public key from a CSR (Certificate Signing Request),
you can use the OpenSSL "req -pubkey" command as shown below:
C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> req -in my_rsa.csr -noout -pubkey -out test_pub.key OpenSSL> pkey -pubin -in test_pub.key -text -noout Public-Key: (1024 bit) Modulus: 00:d1:8b:18:1f:8d:8d:bf:cd:d2:75:f0:e9:f0:4a: 25:73:98:12:82:87:91:98:cd:fb:d7:da:36:25:2c: 2d:c3:1d:f1:ac:b6:76:cb:d1:fc:67:1f:18:b3:83: af:19:1b:8a:10:3d:f9:8a:25:01:85:da:16:d0:fa: f4:3e:cd:a6:1f:0b:7d:e6:29:91:85:fa:59:fe:36: 5c:50:93:e0:fb:e3:6a:63:e4:66:1e:9c:83:e3:28: 7b:21:57:73:f5:18:7b:9b:03:0f:67:5b:bd:56:01: dd:32:ca:32:fb:04:75:77:9d:66:de:c1:1f:80:01: c7:bc:57:a6:0b:b7:9e:26:57 Exponent: 65537 (0x10001)
Options used in this "req" command are:
⇒ OpenSSL "req -newkey" - Generate Private Key and CSR
2016-11-20, 8475👍, 0💬
Popular Posts:
Where to find tutorials on managing certificate in Internet Explorer (IE)? I want to learn how IE st...
Certificate Summary: Subject: DigiCert High Assurance CA-3 Issuer: DigiCert High Assurance EV Root C...
How to view certificate details using Java Control Panel on Mac computers? To view detailed informat...
How to create my own certificate store file using "certmgr.exe" tool? You can your own certificate s...
Certificate Summary: Subject: www.google.com Issuer: Google Internet Authority Expiration: 2013-06-0...