I'm using a rest service to fetch data. Twice in the past several months, I received the following error:
javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching example.com found.
I've read several posts that says it's something to do with LDAPS but LDAPS has nothing to do with the server/service I'm using. The problem seems to happen for several seconds and disappears on its own.
I don't have access to that server and the support told me that they did nothing nor changed anything from their side.
Not sure if it's related, I updated my lets encrypt certificate few days ago and the problem happened for several seconds a day and a half after I restarted my tomcat/java with the new certificate.
Any idea what to look for? Thanks