Easiest way I know to import a PEM format cert or key file into your Java keystore involves two steps.
1- Convert your PEM format certificate into DER format by using the following command syntax:
openssl x509 -outform der -in yourcert.pem -out yourcert.der
2- Import your resulting DER format certificate into your "cacerts" keystore using this syntax:
keytool -import -alias youralias -keystore cacerts -file yourcert.der
Subscribe to:
Post Comments (Atom)
Quick HTTP to HTTPS - Apache2
There are several methods for redirecting your Apache-based website visitors who might type your servers URL using the plain (non-secure) HT...
-
This is to resolve auditd warning asking to specify an arch type for syscall events Sample auditd warning message: WARNING - 32/64 bit s...
-
Problem: RPM package removal error msg "Error: ... Specifies Multiple Packages" Solution: Run rpm -ev with the --allmatches opti...
-
I got a VBE6EXT.OLB could not be loaded error when I wanted to install this really great tool-set for Excel that I've been using for ye...
No comments:
Post a Comment