Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2389)
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 (6528)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5269)
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, 11184👍, 0💬
Popular Posts:
Certificate summary - Owner: *.edublogs.org, EssentialSSL Wildcard, Domain Control Validated Issuer:...
What is the default behavior of the "certutil -store" command? The default behavior of the "certutil...
Certificate Summary: Subject: Sonera Class2 CA Issuer: Sonera Class2 CA Expiration: 2021-04-06 07:29...
Certificate summary - Owner: *.printfriendly.com, PositiveSSL Wildcard, Domain Control Validated Iss...
Certificate summary - Owner: PositiveSSL CA, Comodo CA Limited, L=Salford, ST=Greater Manchester, GB...