"javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received"
Above error was raised while accessing https URL in application server. To avoid this error, we have following options.
- Install certificate in cacert to trust the certificate (JAVA_HOME/jre/lib/security)
- Install certificate in a key store and refer it
- Install certificate in Linux server
curl - k https://www.google.com
wget https://www.google.com
Since, this is a valid http request server will install certificate in Linux server and validate requests against it.
No comments:
Post a Comment