Forum Discussion

simo_astro1122's avatar
simo_astro1122
Not applicable
1 year ago
Solved

Error getting response javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

Hello Community,
I have followed this tutorial Securing MockServices with SSL, to configure https call in SoapUI, my mock service is running on http://WL-748TFB3:8180/mockOsg, it returns reponse, then I tried to generate keystore to put in SSL preferences (screenshot_1)

so that i can establish https connection, but when I hit  https://WL-748TFB3:8180/mockOsg, i get the following error (screenshot_2) :

Thu Jan 16 16:42:42 CET 2025:INFO:Error getting response for [Osg.ProcessText:Request 1]; javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

Do I have something wrong in my ssl configuration ? in request ? do i need to add/change my configuration that's not mentionned in soapUI ?

Thanks in advance :)



  • Hi simo_astro1122​ 

    javax.net.ssl.SSLException: Unsupported or unrecognized SSL message usually means the endpoint is still serving HTTP, not HTTPS. Creating/configuring the keystore alone isn't enough,

    The MockService must be bound to an HTTPS port with SSL enabled. Verify the MockService SSL configuration and use the corresponding HTTPS port, rather than 8180 if that port is configured for HTTP.

    Hope this helps !!

1 Reply

  • Humashankar's avatar
    Humashankar
    Icon for Champion Level 3 rankChampion Level 3

    Hi simo_astro1122​ 

    javax.net.ssl.SSLException: Unsupported or unrecognized SSL message usually means the endpoint is still serving HTTP, not HTTPS. Creating/configuring the keystore alone isn't enough,

    The MockService must be bound to an HTTPS port with SSL enabled. Verify the MockService SSL configuration and use the corresponding HTTPS port, rather than 8180 if that port is configured for HTTP.

    Hope this helps !!