Forum Discussion

lanny_jin's avatar
lanny_jin
Occasional Contributor
16 years ago

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

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

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

    regards!

    /Ole
    eviware.com
  • lanny_jin's avatar
    lanny_jin
    Occasional Contributor
    Do you mean this settings? I have already set.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hm.. and you are calling the MockService with an https endpoint? Have you tried from inside soapUI?

    regards,

    /ole
    eviware.com