I'm trying to call a SSL-secured api using a spring RestTemplate. Unfortunately I get the following Error. What am I doing wrong?
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://thedomaintocall.com": java.security.cert.CertificateException: No name matching thedomaintocall found; nested exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching thedomaintocall found