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
Creating a Certificate Signing Request Using Certreq.exe April 6, 2013 Create a file named CSRParameters.inf on the C:\ drive using the contents below as a template (replace the single quotes with double quotes): [NewRequest] Subject="CN=mailgw.mango.com.bd,OU=IIG,O=Mango Teleservices Limited,S=Not Applicable,L=Dhaka,C=BD" KeySpec=1 KeyLength=2048 Exportable=TRUE MachineKeySet=TRUE SMIME=False PrivateKeyArchive=FALSE UserProtected=FALSE UseExistingKeySet=FALSE ProviderName="Microsoft RSA SChannel Cryptographic Provider" ProviderType=12 RequestType=PKCS10 KeyUsage=0xa0 Silent=TRUE [EnhancedKeyUsageExtension] OID=1.3.6.1.5.5.7.3.1 Open a command… 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
Let’s Encrypt service with Pound server February 5, 2018 In order to install Certbot on your server, follow the next steps: (make sure you have “git” installed on your system) $sudo apt-get install git (if not previously installed) $cd /opt $sudo git clone https://github.com/certbot/certbot Running the above commands will download the Certbot latest release from their git repo in… Read More