Search Results

Convert SSH2 keys to OpenSSH

Convert SSH2 key to OpenSSH format: ssh-keygen -i -f id_dsa_1024_a.pub > id_dsa_1024_a_openssh.pub Or to convert an OpenSSH key to SSH2: ssh-keygen -e -f id_dsa.pub > id_dsa_ssh2.pub

Convert SSL from pem to pfx

Convert an SSL certificate from Apache pem to IIS pfx format. Copy the private key and certificate parts, from the PEM to their own files. Then: openssl pkcs12 -export -out ssl.pfx -in ssl.crt -inkey ssl.key This gave me a .pfx file i could import into IIS. If it’s an EV SSL, you can add the […]

Convert SSL from pfx to pem

Convert an SSL certificate from IIS pfx to Apache pem format: # Export the private key file from the pfx file openssl pkcs12 -in filename.pfx -nocerts -out key.pem # Export the certificate file from the pfx file openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem # This removes the passphrase from the private key so […]