Skip to content

cert_expiry cannot connect to non-standard port #10550

Closed
@danodemano

Description

Home Assistant release (hass --version):
0.57.3

Python release (python3 --version):
3.5.3

Component/platform:
cert_expiry

Description of problem:
Unable to connect to router to check certificate on port 4444

Expected:
Should be able to get cert from non-standard port

Problem-relevant configuration.yaml entries and steps to reproduce:

- platform: cert_expiry
  name: gateway.danodemano.com
  port: 4444
  host: gateway.danodemano.com

Traceback (if applicable):

2017-11-12 17:35:35 ERROR (Thread-6) [homeassistant.components.sensor.cert_expiry] Cannot connect to gateway.danodemano.com

Additional info:
ssl-cert-check from the Home Assistant server can check it without issue:

root@ha:~# ssl-cert-check -s gateway.danodemano.com -p 4444

Host                                            Status       Expires      Days
----------------------------------------------- ------------ ------------ ----
gateway.danodemano.com:4444                     Expiring     Dec 7 2017   25

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions