Javax.net.ssl.SSLException when calling web service in soap frontend over HTTPS

Hello fellow programmers!

I have to admit that I'm still new to web services and don't know exactly how to secure them.

I am trying to make a call to a ws-secured webservice in SoapUI. When I call WS without SSL, I get the correct response. But when I call WS over HTTPS, I get a status message:

Error getting response; javax.ssl.SSLException: Unrecognized SSL message, plaintext connection?

      

I thought it was an SSL certificate issue, so I exported the certificate from the website and imported it into the java keystore. Then I installed this store in SoapUI config. But unsuccessfully.

I used Wireshark to capture the communication session with the following result:

Packet Transmission

TCP Stream

In connection with this situation, I have several questions.

  • What could I have done wrong?
  • Perhaps the site providing this WS only supports non-SSL connections. Is there a way to test this?

Thanks in advance! Any help or suggestion would be appreciated: 3

+3


source to share


1 answer


You are connecting to the wrong (plain HTTP) port. It is not possible to run HTTPS and HTTP on the same port, so there will be another port in your config to listen for HTTPS.



+2


source







All Articles