Search Engine: Elastic

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

  • Applies to:
  • APS Connect


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: Certificate: {'subjectAltName': (('DNS', 'kubernetes'), ('DNS', 'kubernetes.default'), ('DNS', 'kubernetes.default.svc'), ('DNS', 'kubernetes.default.svc.cluster.local'), ('IP Address', ''), ('IP Address', '')), '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''),),), 'issuer': ((('commonName', u'xxxxxx-xxxx-xxxx-xxxx-xxxxxxx),),)}

Python 2.7.5 is installed on the host where apsconnect is executed.


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


In case of python 2.7.5 it is necessary to run the following commands before installing apsconnect:

yum install python-setuptools
easy_install pip
pip install -U setuptools
pip install -U backports.ssl-match-hostname

After that install apsconnect:

pip install apsconnectcli

be79e2f67e4500de956ded4fcc733b5f 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF