personium / personium-ex-httpclient

An engine extension to enable HTTP request from server-side script.
Apache License 2.0
0 stars 8 forks source link

IgnoreHostnameVerification option is not worked when the server certificate doesn't have alternative names. #29

Open tochi-y opened 5 years ago

tochi-y commented 5 years ago

When the server certificate doesn't have alternative names, following error message is displayed.

"An error occurred. Cause: [javax.net.ssl.SSLPeerUnverifiedException: Certificate for <personium.example> doesn't match any of the subject alternative names: []]"

With alternative names, the error is not occurred though.