Search Engine: Elastic

Article ID: 131592, created on Oct 10, 2017, last review on Oct 11, 2017

  • Applies to:
  • APS Connect

Symptoms

The following error is shown when running apsconnect init-cluster command while installing APS Connector:

2017-09-21 01:34:28,765 ERROR Certificate did not match expected hostname: 192.168.1.1 Certificate: {'subjectAltName': (('DNS', 'kubernetes'), ('DNS', 'kubernetes.default'), ('DNS', 'kubernetes.default.svc'), ('DNS', 'kubernetes.default.svc.cluster.local'), ('IP Address', '192.168.1.1'), ('IP Address', '192.168.1.1')), 'notBefore': u'Aug 29 12:06:40 2017 GMT', 'serialNumber': u'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'notAfter': 'Aug 28 12:06:40 2022 GMT', 'version': 3L, 'subject': ((('commonName', u'192.168.1.1'),),), 'issuer': ((('commonName', u'xxxxxx-xxxx-xxxx-xxxx-xxxxxxx),),)}

Cause

Most likely you are using old version of openssl linked with python.

Resolution

Either re-link python with fresh version of openssl or install fresh version of python.

be79e2f67e4500de956ded4fcc733b5f 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF