Oracle Weblogic Server (MOSC)

MOSC Banner

How to ignore certificate validation in Weblogic 10.3.6 for specific https URL

edited Mar 28, 2014 2:11AM in Oracle Weblogic Server (MOSC) 4 commentsAnswered ✓

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>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center