How to ignore certificate validation in Weblogic 10.3.6 for specific https URL
Hi ,
I have written an adapter to post a message to Amazon SQS using aws-java-sdk libraries.
1. From Java main method :
Am able to post message to Amazon SQS by adding the aws-java-sdk libraries in classpath from java main method.
2.Application :
I have built this as EAR file and deployed in Weblogic Server 10.3.6.However if I use "https" URL , it is trying to validate the certificate.
am getting the below exception from managed server log :
ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)', called closeSocket()>
<BEA-000000> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)', handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target>