Sathish David Kumar N
asked on
How to convert a PEM-formatted String to a java.security.cert
"certfication": "-----BEGIN CERTIFICATE----- certificate content --END CERTIFICATE-----"
Iam getting as string i need to convert this as java certificate
I tried CertificateFactory but notable create correctly ?
Iam getting as string i need to convert this as java certificate
I tried CertificateFactory but notable create correctly ?
ASKER
how we will do it via programmatically ?
Probably simplest to execute the above with Runtime.exec
ASKER
is there any other (alternative) command for openssl
Not that i know of
ASKER
my system dont have openssl
where we can download that
where we can download that
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
Then import it into the keystore:
Open in new window