show the self-signed certificate details

This commit is contained in:
Rui Lopes 2017-10-28 14:01:36 +01:00
parent 0ba8a91e7f
commit de4564da9e
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ openssl x509 \
-in $config_fqdn-crt.pem \
-outform der \
-out $config_fqdn-crt.der
openssl x509 \
-noout \
-text \
-in $config_fqdn-crt.pem
# copy the certificate to a place where it can be used by other machines.
mkdir -p /vagrant/shared
cp $config_fqdn-crt.* /vagrant/shared