Sam Roberts df4439186f Remove unnecessary trailing whitespace 5 years ago
..
apps df4439186f Remove unnecessary trailing whitespace 5 years ago
README df4439186f Remove unnecessary trailing whitespace 5 years ago
ca.cnf 478b50cf67 misspellings fixes by https://github.com/vlajos/misspell_fixer 10 years ago
mkcerts.sh df4439186f Remove unnecessary trailing whitespace 5 years ago
ocspquery.sh 79b184fb4b Extend certificate creation examples to include CRL generation and sample 11 years ago
ocsprun.sh 79b184fb4b Extend certificate creation examples to include CRL generation and sample 11 years ago

README

There is often a need to generate test certificates automatically using
a script. This is often a cause for confusion which can result in incorrect
CA certificates, obsolete V1 certificates or duplicate serial numbers.
The range of command line options can be daunting for a beginner.

The mkcerts.sh script is an example of how to generate certificates
automatically using scripts. Example creates a root CA, an intermediate CA
signed by the root and several certificates signed by the intermediate CA.

The script then creates an empty index.txt file and adds entries for the
certificates and generates a CRL. Then one certificate is revoked and a
second CRL generated.

The script ocsprun.sh runs the test responder on port 8888 covering the
client certificates.

The script ocspquery.sh queries the status of the certificates using the
test responder.