Thomas Langston
Thomas Langston

Reputation: 3735

Why do I get a javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching found exception when I see a wildcard entry

I'm getting the following SSL error when trying to resolve packages from atlassian's artifactory repo via ivy.

[ivy:retrieve] Server access error at url https://packages.atlassian.com/repository/public/net/minidev/json-smart/ (javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching packages.atlassian.com found.)

However, when I view the certificate in Chrome or Firefox, it appears valid. The Subject Alternative Name extension has the following values.

Not Critical
DNS Name: *.atlassian.com
DNS Name: atlassian.com

Is this an error on my side or atlassian's? How would I go about solving it, preferably without disabling any SSL security?

Upvotes: 0

Views: 2546

Answers (1)

Thomas Langston
Thomas Langston

Reputation: 3735

This was related to the Java version. Updating from JDK 11.0.2 to JDK 11.0.4 solved the issue.

Upvotes: 1

Related Questions