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, ≈12🔥, 0💬
Popular Posts:
Certificate summary - Owner: gp1.wac.edgecastcdn.net, "EdgeCast Networks, Inc.", L=Santa Monica, ST=...
Renewing a certificate with the same key provides maximum compatibility with past uses of the accomp...
What options are supported by the "keytool -certreq" command? Java Keytool can be used to generate a...
Certificate Summary: Subject: GlobalSign Extended Validation CA - SHA256 - G3 Issuer: GlobalSign Exp...
What is Java Keytool? I heard that Java Keytool is nice tool to generate keys and manage certificate...