Convert .p12 bundle to server certificate and key files Rumi, August 28, 2015February 16, 2024 Seperate Private Key and Certificate file #Generate certificates bundle file openssl pkcs12 -nokeys -in server-cert-key-bundle.p12 -out server-ca-cert-bundle.pem #Generate server key file. openssl pkcs12 -nocerts -nodes -in server-cert-key-bundle.p12 -out server.key Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes Create a .pfx/.p12 certificate file using OpenSSL openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt Src: https://www.sslshopper.com/article-most-common-openssl-commands.html Related PKI p12
Set Up Nginx Load Balancing with SSL Termination March 23, 2018 Nginx can be configured as a load balancer to distribute incoming traffic around several backend servers. SSL termination is the process that occurs on the load balancer which handles the SSL encryption/decryption so that traffic between the load balancer and backend servers is in HTTP. The backends must be secured… Read More
The SSL/TLS Handshake: an Overview March 6, 2018 Obligatory SSL/TLS Handshake Graphic All SSL/TLS-related sites have their own version of a handshake diagram – here’s ours! (Click to enbiggen.) Let’s Clear Up Some Confusion, If We Can Some confusion about how SSL/TLS handshakes work is due to the handshake being only the prelude to the actual, secured session itself. Let’s try to… Read More
Connecting openvpn server using openvpn gui client for windows August 31, 2011August 31, 2011 Assuming that you have a openVPN server ready to allow vpn connectivity from its clients. It is also assumed that CA Certificate (.pem) is also obtained from a valid CA and signed with the openVPN server. Because the large number of parameters you can define either in the configuration file… Read More