[
https://issues.apache.org/jira/browse/HTTPCLIENT-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vasil Badev updated HTTPCLIENT-1348:
------------------------------------
Attachment: multivalue_test.patch
The problem is that when certificate subject RDN is encoded as multi value ava,
delimiter in output of X509Certificate.getSubjectX500Principal().toString() is
plus sign, not comma. This is unusual encoding, but is valid.
I have attached patch with added test case.
> Incorect extraction of certificate CN in AbstractVerifier
> ---------------------------------------------------------
>
> Key: HTTPCLIENT-1348
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1348
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.2.4, 4.2.5
> Reporter: Vasil Badev
> Labels: patch
> Attachments: multi valued RDN fix.patch, multivalue_test.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> Method getCNs in AbstractVerifier do not follow section 2.2 of RFC 2253, and
> can not decode certificates with subject names encoded as multi-valued RDN.
> Example certificate with this type of subject name can be found in RFC 3039
> (section C.3 DER-encoding).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]