#2105
[How-To] Certificate
#extract the certificate to a pem file
openssl pkcs12 -in certificate.p12 -out certificate.crt.pem -clcerts -nokeys
#extract the key to another pem file
openssl pkcs12 -in certificate.p12 -out certificate.key.pem -nocerts -nodes
#Import the the certificate into JDKs cacerts keystore
keytool -import -alias MY_ALIAS -file /root/certificate.crt.pem -keystore /opt/app/java/current/jre/lib/security/cacerts
cURL HTTPS with client certificate :
curl --key ./mykey.key --cert ./mycert.pem -k -v https://target.com
Download custom certificate and use it in a cURL command :
How to create a .pem file for SSL Certificate Installations
https://support.microfocus.com/kb/doc.php?id=7013103#
WebLogic : How to regenerate DemoIdentity.jks and DemoTrust.jks
https://balaidm.wordpress.com/2018/12/19/how-to-regenerate-demoidentity-jks-and-demotrust-jks/