cancel
Showing results for 
Search instead for 
Did you mean: 

SSLException when using Mock services with SSL

Highlighted
Occasional Contributor

SSLException when using Mock services with SSL

Hi,

When I using SSL on MockService, it always throw SSLException.

2009-04-15 11:25:19 - Error getting response; java.lang.Exception: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

However, I can get response from my app server which using HTTPS.

The certification is self-signed, I have already import client cer into server's truststore. So, after I set ssl option in project security configurations and preferences - ssl settings, I can use soapui as a client communicate with my server. 

But when I change the endpoint to mockservice. It always has SSLException. And I also set the incoming WSS and default out going WSS in MockService properties. But the communication still have exception.

Could you please tell me what wrong with it and do I need to change some other settings?

Thanks
3 REPLIES 3
Highlighted

Re: SSLException when using Mock services with SSL

Hi!

Have you configured all MockService related SSL settings in the Global SSL Properties tab?

regards!

/Ole
eviware.com

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful
Highlighted
Occasional Contributor

Re: SSLException when using Mock services with SSL

Do you mean this settings? I have already set.
Highlighted

Re: SSLException when using Mock services with SSL

Hm.. and you are calling the MockService with an https endpoint? Have you tried from inside soapUI?

regards,

/ole
eviware.com

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful
New Here?
Join us and watch the welcome video:
Top Kudoed Authors