CA.pl -newcert (openssl req -config /etc/openssl.cnf -new -x509 -keyout newreq.pem -out newreq.pem -days 365) |
Now ensure that the file index.txt is empty and that the file serial contains 1.
openssl req -config /etc/openssl.cnf-new -x509 -keyout private/cakey.pem -out cacert.pem -days 3650 |
You will have to type the passphrase each time you want to sign another certificate with it.