Reference: https://www.digicert.com/kb/ssl-support/pem-ssl-creation.htm https://www.digicert.com/kb/ssl-support/pem-ssl-creation.htm https://cheapsslsecurity.com/p/convert-a-certificate-to-pem-crt-to-pem-cer-to-pem-der-to-pem/ https://medium.com/@sevcsik/authentication-using-https-client-certificates-3c9d270e8326 https://stackoverflow.com/questions/19014541/curl-to-pass-ssl-certifcate-and-password So export the keys into .p12 keytool -importkeystore -srckeystore $jksfile -destkeystore $p12file \ -srcstoretype JKS...