jira-client icon indicating copy to clipboard operation
jira-client copied to clipboard

Error when accessing JIRA on multi-VHost SSL site.

Open HappySpaceInvader opened this issue 8 years ago • 2 comments

I'm getting an error when connecting to a JIRA sitting behind an Apache SSL proxy, for which the JIRA VHost is not the first in alphanumerical terms.

This is quite a well-known issue with web clients and SNI compatibility; I'm not sure if the problem is JIRA Server or the version of httpclient you're using.

Version 4.3.2 of httpclient has a bug fix for SNI compatibility: https://issues.apache.org/jira/browse/HTTPCLIENT-1119

And version 7.1.6 of JIRA does also: https://jira.atlassian.com/browse/JRA-47568

I'm using version 7.1.4 of JIRA, and your project is using 4.2.5 of http client.

The error I get is:

javax.net.ssl.SSLException: Certificate for jira.acme.com doesn't match any of the subject alternative names: [ace.acme.com]

HappySpaceInvader avatar Dec 14 '16 17:12 HappySpaceInvader

Problem is definitely with the version of httpclient used. I upgraded JIRA to latest, but same problem.

HappySpaceInvader avatar Jan 18 '17 15:01 HappySpaceInvader

Have opened #205 to handle httpclient upgrade

vsbatista avatar Jun 03 '17 00:06 vsbatista