openssl x509 -in certificate.pem -text
openssl pkcs12 -export -in cert.pem -inkey privkey.pem \
-out swarm.p12 -name swarm \
-CAfile ca.crt -caname root
openssl pkcs12 -export -in cert.pem -inkey privkey.pem -out swarm.p12 -name swarm -password pass:password
openssl x509 -in mydetv.crt -text
openssl s_client -showcerts -verify 5 -connect stackexchange.com:443 < /dev/null