Skip to content

Problem with self signed certificate and HASS connection #2532

@SvenKo

Description

@SvenKo

What happened?

Hi everyone, I'm using AppDaemon (4.5.7) and Home Assistant (2026.1.2) via Podman, which works great. However, I can only use AppDaemon up to version 4.5.7, as all subsequent versions display an SSL connection error. I get the same error when I use Docker.

All certificates I'm using are signed by my own CA. Even when I set cert_verify: False, I still get this error. I've also entered my own CA's path cert_path: '/conf/cert/ca-cert.pem, but that doesn't work either.

Do you have any idea what this could be, or is it perhaps a bug?

Thanks, Sven

Version

4.5.13

Installation type

Docker container

Relevant log output

2026-01-25 07:48:19.003168 ERROR HASS: Cannot connect to host host.containers.internal:8123 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1010)')]
2026-01-25 07:48:19.003320 INFO HASS: Attempting reconnection in 5.0s

Relevant code in the app or config file that caused the issue

appdaemon:
  latitude: ...
  longitude: ...
  elevation: 100
  time_zone: Europe/Berlin
  plugins:
    HASS:
      type: hass
      ha_url: https://host.containers.internal:8123
      token: ...
      cert_path: /conf/cert/ca-cert.pem
      cert_verify: False
    MQTT:
      type: mqtt
      namespace: mqtt
      client_id: "appdaemon"
      client_host: host.containers.internal
      client_port: 1883
      client_user: "mqttusr"
      client_password: "..."
      client_topics: NONE
http:
  url: https://appdaemon.mydomain.de:5050
  password: ...
  ssl_certificate: /conf/cert/appdaemon_mydomain_de-cert.pem
  ssl_key: /conf/cert/appdaemon_mydomain_de-key.pem
admin:
api:
hadashboard:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issueSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions