When generating a CA certificate, the default_days parameter in cassl.conf that controls the expiration of server and client certificates is not used for CA certificates. The certificate is generated with a default expiration of 30 days.
To change the default expiration
Openssl req -x509 -newkey rsa -out ./certs/cassl.pem -outform PEM
Openssl req -x509 -newkey rsa -out ./certs/cassl.pem -outform PEM -days 365
| Copyright © 2012 CA. All rights reserved. |
|