Collections:
Other Resources:
OpenSSL "ca" - Track CSR Signing History
How to track CSR certificate signing history? I want to know how many CSR I have signed with the OpenSSL "ca" command so far.
✍: FYIcenter.com
OpenSSL "ca" command automatically tacks your CSR signing history for you.
Each time you sign a CSR and generate a new certificate, it will:
The test below shows you how OpenSSL "ca" command manages CSR signing history:
C:\Users\fyicenter>dir /s demoCA
115 index.txt
21 index.txt.attr
0 index.txt.old
<DIR> newcerts
5 serial
5 serial.old
Directory of .\demoCA\newcer
3,279 1000.pem
C:\Users\fyicenter>type demoCA\index.txt
V 170831202401Z 1000 unknown /C=US/ST=NY/L=NY/O=FYIcenter.com
/CN=www.fyicenter.com/emailAddress=joe@fyicenter.com
C:\Users\fyicenter>type demoCA\serial
1001
As you can see from the test, you can count the number of lines in the .\demoCA\index.txt file to know how many CSR you have signed so far.
If the requester of the CSR want to get a copy of his/her certificate, you can lookup the serial number from the .\demoCA\index.txt file by DN fields. Then use the serial number of the file name to get the certificate in the .\demoCA\newcerts directory.
⇒ OpenSSL "ca" Error "failed to update database TXT_DB error number 2"
2016-09-13, ∼2549🔥, 0💬
Popular Posts:
What certificates are included in the OpenJDK 11 default trusted certificate keystore file: "cacerts...
Why am I getting the "data too large for key size" error, when using OpenSSL "rsautl" command to enc...
Where to find a simple configuration file example for the OpenSSL "ca" command? Here is a simple con...
Certificate summary - Owner: *.smzdm.com, Operations Department, "Beijing Zhidemai Information Techn...
Certificate summary - Owner: InCommon Server CA, InCommon, Internet2, US Issuer: AddTrust External C...