Path: blob/main/crypto/openssl/demos/certs/README.txt
34869 views
There is often a need to generate test certificates automatically using1a script. This is often a cause for confusion which can result in incorrect2CA certificates, obsolete V1 certificates or duplicate serial numbers.3The range of command line options can be daunting for a beginner.45The mkcerts.sh script is an example of how to generate certificates6automatically using scripts. Example creates a root CA, an intermediate CA7signed by the root and several certificates signed by the intermediate CA.89The script then creates an empty index.txt file and adds entries for the10certificates and generates a CRL. Then one certificate is revoked and a11second CRL generated.1213The script ocsprun.sh runs the test responder on port 8888 covering the14client certificates.1516The script ocspquery.sh queries the status of the certificates using the17test responder.181920