I’m using a rest service to fetch data. Twice in the last several months I got an exception
javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching example.com found. when querying a service using Java/Tomcat. The problem seems to happen for several seconds and disappears on its own.
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. It also happened in the past after the renewal. Any idea what to look for? Do I have to do something with example.com after every reneal?