Import .pfx Certificate with Keytool is not working Import .pfx Certificate with Keytool is not working elasticsearch elasticsearch

Import .pfx Certificate with Keytool is not working


You can do so easily using the following command:

openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes

You can also name the output certificate certificate.pem if you wish. PEM certificates can usually have any of the following extentions: .pem, .crt, .cer, and .key