Programming Tutorials

Comment on Tutorial - java.io.IOException: HTTPS hostname wrong: should be By Ramlak



Comment Added by : DocDawning

Comment Added at : 2015-06-03 00:01:42

Comment on Tutorial : java.io.IOException: HTTPS hostname wrong: should be By Ramlak
A Java application of mine spewed-forth this message after I updated my SSL certs. Turns out that the Java application doesn't use SNI when it opens an https connection, so my nginx reverse proxy server ended up returning the default https virtual host.

Why this started after I swapped in new SSL certs, I have no idea. Suffice to say, others will run aground in this. I hope this comment saves someone's mind before it's too late.


View Tutorial