Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.5.11
Description
I believe that the result of:
https://github.com/apache/httpcomponents-client/commit/b184b244ad9342a384ba87f48c6b48805a3b0f1f
and:
https://github.com/apache/httpcomponents-client/commit/e0416f07c344929699a2bc303eb3a049c62bd979
Caused a regression which prevents non-public hostnames from validating, resulting in errors like (I have redacted hostnames as possible):
Certificate for <hostname-workspace-1.ops.domain.local> doesn't match any of the subject alternative names: [user-id-60662, hostname-workspace-1.ops.domain.local, 127.0.0.1, 10.2.243.75]
This is because the default value of ICANN is now supplied to the PublicSuffixMatcher, which causes it to only accept publicly accessible hostnames now (or so it seems).
Attachments
Issue Links
- is duplicated by
-
HTTPCLIENT-2055 Verification of certificates containing wildcard SANs fails for non-public domains
- Resolved
-
HTTPCLIENT-2058 DefaultHostnameVerifier does not verify local DNS names
- Resolved
-
HTTPCLIENT-2054 SSLPeerUnverifiedException with wildcard
- Resolved
-
HTTPCLIENT-2060 SSLPeerUnverifiedException: Certificate for <X> doesn't match any of the subject alternative names: [X, Y, Z]
- Closed
- links to