Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2463)
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 (6622)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5335)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
OpenSSL "x509 -req" - Quick Way to Sign CSR
How to sign a CSR with OpenSSL "x509" command? I want a quick way to sign a CSR without setting the OpenSSL "ca" command.
✍: FYIcenter.com
Normally, you should set up OpenSSL "ca" command to sign a CSR. But if you want quick alternative, you can use the "x509" command to sign a CSR as shown in the test below:
C:\Users\fyicenter>\local\OpenSSL\openssl OpenSSL> req -in my_rsa.csr -subject -noout subject=/C=us/ST=NY/L=New York/O=Donald Inc./OU=IT/CN=www.donald.inc/emailAddres s=john@donald.inc OpenSSL> req -in my_rsa.csr -verify -noout verify OK OpenSSL> x509 -req -in my_rsa.csr -CA my_ca.crt -CAkey my_ca.key -out my_rsa.crt -set_serial 2000 Signature ok subject=/C=us/ST=NY/L=New York/O=Donald Inc./OU=IT/CN=www.donald.inc/emailAddres s=john@donald.inc Getting CA Private Key Enter pass phrase for my_ca.key:fyicenter OpenSSL> x509 -in my_rsa.crt -subject -noout subject= /C=us/ST=NY/L=New York/O=Donald Inc./OU=IT/CN=www.donald.inc /emailAddress=john@donald.inc OpenSSL> x509 -in my_rsa.crt -issuer -noout issuer= /C=US/ST=TX/L=City/O=FYIcenter.com/OU=Security/CN=FYIcenter Root CA /emailAddress=root-ca@fyicenter.com
Notes about the test:
⇒ OpenSSL "x509 -req" - Error "my_ca.srl: No error"
2018-02-01, 2285🔥, 0💬
Popular Posts:
Certificate summary - Owner: www.mozilla.com, IT, Mozilla Corporation, L=Mountain View, ST=Californi...
Certificate summary - Owner: Dell Inc. Enterprise CA, Dell Inc. Issuer: GTE CyberTrust Global Root, ...
Certificate summary - Owner: *.1688.com, RDC, "Taobao(China) Software Co., Ltd", L=Hangzhou, ST=Zhej...
Certificate summary - Owner: *.yola.com, PositiveSSL Wildcard, Domain Control Validated Issuer: Posi...
Certificate summary - Owner: Entrust Certification Authority - L1K, "(c) 2012 Entrust, Inc. - for au...