1
I have a Jboss server on my machine for developing tests. In the company where I work we have a proxy. I need to test the Google recaptcha. It uses https. I set up the proxy information in the tag system-properties
of the archive standalone.xml
of Jboss, as below:
<system-properties>
<property name="http.proxyHost" value="xxxx"/>
<property name="http.proxyPort" value="8080"/>
<property name="http.proxyUser" value="xxxx"/>
<property name="http.proxyPassword" value="xxxx"/>
<property name="http.nonProxyHosts" value="localhost"/>
<property name="https.proxyHost" value="xxxx"/>
<property name="https.proxyPort" value="8080"/>
<property name="https.proxyUser" value="xxxx"/>
<property name="https.proxyPassword" value="xxxx"/>
<property name="https.nonProxyHosts" value="localhost"/>
</system-properties>
But when executing any call that tries to use the proxy, the server returns me the following error:
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
What should I do?