Need Help! Contact me.Send Feedback Thank You.

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Solution

This is a very common issue where the request is sent to non ssl port instead of ssl port.

Example lets say Weblogic server is running on 7501 as the regular port and 7502 is the ssl port and the webservice relative url is /service.

Then non ssl url becomes http://localhost:7501/service and SSL based url becomes https://localhost:7502 so what is happening is that you are sending the request to 7501 port instead of 7502, so verify and change it and once you try again that will work.

Subscribe to DeveloperFeedDid you like this article? Did it Help you Solve your Problem? You can get the all the latest articles published at DeveloperFeed in your email inbox by entering your email address below. Your address will only be used for mailing you the articles, and each one will include a link so you can unsubscribe at any time.