cert expiry

This commit is contained in:
Luke Powlett
2019-03-21 16:15:31 +00:00
parent d5f04bc470
commit f6231cd51c
5 changed files with 42 additions and 42 deletions

View File

@@ -23,7 +23,7 @@ PASSWORD=passw0rd
openssl req \
-newkey rsa:2048 -nodes -keyout ${KEY} \
-subj "/CN=localhost" \
-x509 -days 365 -out ${CERT}
-x509 -days 3650 -out ${CERT}
# Add the key and certificate to a PKCS #12 key store, for the server to use
openssl pkcs12 \