Getting SSLHandshakeException with mflix-java app

SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address

in Properties I have set
spring.mongodb.uri=mongodb+srv://:@uri

That is not a valid URI. Go back in compass and select the appropriate connection option to get a valid URI.

1 Like