Collections:
Other Resources:
OpenSSL "x509 -req" - Error "my_ca.srl: No error"
Why I am getting the "my_ca.srl: No error" error when trying to sign a CSR with OpenSSL "x509" command?
✍: FYIcenter.com
You are getting the "my_ca.srl: No error" error when using OpenSSL "x509" command to sign a CSR, because OpenSSL is not able to access the default serial number file: my_ca.srl.
When using "x509" command to sign CSR, you have to use the following options to help OpenSSL to manage how serial number should be provided to the new certificates.
The test shows you how to create a default serial number file:
C:\Users\fyicenter>copy CON my_ca.srl 1000 <Ctrl-Z> C:\Users\fyicenter>copy CON my_ca.srl 613 my_ca.crl 1,094 my_ca.crt 1,041 my_ca.key C:\Users\fyicenter>\local\OpenSSL\openssl OpenSSL> x509 -req -in my_rsa.csr -CA my_ca.crt -CAkey my_ca.key -out my_rsa.crt 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: OpenSSL> x509 -in my_rsa.crt -serial -noout serial=1001
⇒ OpenSSL "x509 -pubkey" - Export Public Key"
2018-02-08, 13279🔥, 0💬
Popular Posts:
How to export the server certificate to a file in IE? I can view the server certificate used by the ...
Certificate summary - Owner: USERTrust Legacy Secure Server CA, The USERTRUST Network, L=Salt Lake C...
Certificate summary - Owner: www.irctc.co.in, ITC 22.8, Indian Railway Catering and Tourism Corporat...
Certificate summary - Owner: *.spotify.com, Spotify AB, L=Stockholm, ST=Stockholm, SE Issuer: DigiCe...
Key Summary: Type: RSA 2048-Bit Public Key Identifier: B6:08:7B:0D:7A:CC:AC:20: 4C:86:56:32:5E:CF:AB:...