Subject: | jolokia and tls |
Date: | Fri, 19 Aug 2016 15:12:44 +0200 |
To: | <bug-jmx4perl [...] rt.cpan.org> |
From: | Michael Salmon <michael.salmon [...] ericsson.com> |
I tried running the jolokia perl script on a Centos 6 system and got the following error:
Cannot load Jolokia Meta-Data from http://www.jolokia.org/jolokia.meta: 500 Can't connect to jolokia.org:443 (SSL connect attempt failed with unknown errorerror:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error)
I tried "openssl s_client -host www.jolokia.org -port 443" and got the same error.
When I tried "openssl s_client -servername www.jolokia.org -host www.jolokia.org -port 443" it worked as expected.
As I understand it the problem is that jolokia or the underlying module is not including the host name in the handshake and that means that cloudflare can't return the correct certificate.
/Michael Salmon
SE KI34 06 341C (OLC: 9FFVCW4X+JXQG)
+46 722 184 909