Error soapui WSDL when adding

I keep getting this error when adding this. Any ideas. I have worked on other WSDL links, and they are great besides this.

org.apache.xmlbeans.XmlException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: Failed to create PKIX path: sun.security.provider.certpath.SunCertPathBuilderException: could not find a valid certification path for the requested target

+4
source share
5 answers

WSDL https, cacerts JRE, SOAPUI ( , , wsdl http, URL- wsdl http, , ).

( URL- wsdl ).

download server certificate sample

cacerts keytool:

keytool -import -alias somealias -file serverCertificate.cer -keystore SOAPUI_HOME/jre/lib/security/cacerts

( cacerts - "changeit" ).

WSDL "PKIX path building".

, ,

+4

SOAP , JRE ...

, .

  • ( )
  • SOAPUI \SmartBear\soapUI-4.0.1\jre\lib\security
  • cacerts ( )
  • SOAP WSDL...
+3

, , SoapUI ( , 4.6.4). , , , CA , .

, , SSL.

+2

: SOAPui wsimport wsimport. com.sun.tools.internal.ws.WsImport WSDL.

SOAPui JRE, , JDK, SOAPui wsimport, , , PATH, com.sun.tools.internal.ws.WsImport, SOAPui.

wsimport cacerts SOAPUI_HOME\jre\lib\security. cacerts JDK, wsimport.

SOAPui wsimport JDK,

:

  • , , srv-certificate.txt

  • cacerts JDK, SOAPui:

    C:\>keytool -import -alias somealias -file cmq-certificates.txt  -keystore C:\software\jdk1.8.0.65\jre\lib\security\cacerts
    

where jdk1.8.0.65 is the JDK used by SOAPui tools.

Hope this helps!

0
source

It has been a while since this topic was asked, but I have an addition to the albciff answer.

SoapUI has its own JRE, and you need to import the certificate into the cacerts SoapUI JRE file.

Hope this helps!

-1
source

Source: https://habr.com/ru/post/1526949/


All Articles