Certificates and Encryption
Smallstep
Certbot
Convert Formats
Convert PFX to PEM
Output Combined Data openssl pkcs12 -nodes -in file.pfx -out file.pem Key and certificate combi...
Convert Certificate and Key to PFX
openssl pkcs12 -export -out file.pfx -inkey file.key -in file.crt Enter password details when pr...
Convert P12 to PEM
cat password_file.txt | openssl pkcs12 -in file.p12 -out file.pem -nodes -passin stdin
Create Self-Signed TLS Certificates
When You Should Do This If you have an internal/demo/test server where you'd like to encrypt tra...
Read X.509 Data from Certificate File
openssl x509 -in cert.pem -text -noout
Read TLS Certificate from Server
OpenSSL openssl s_client -connect 127.0.0.1:443 -servername domain.tld Unix-like operating syst...