HTTPS Connection to Home Assistant (or other) with Custom CA Certificate #1986
Z3r10
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
I run my own CA at home, and my HA instance is signed with it.
Since latest 2.2.0 Hyperion-ng, SSL is supported but still validate the trust.
Here is small guide to import your own CA Cert.
Should also be valid for any other SSL connection.
NB: Tested on Hyperbian 2.2.0
Troubleshoot
Log is saying something like
homeassistant: blabla [...] root certificate is self-signed and not trustedStep 1: Copy CA Cert
Copy your .crt file to
/usr/local/share/ca-certificates/⚠ It MUST be with .crt extension
You can either copy via SFTP/SCP or paste it via touch + vi or nano
On Raspbian/Hyperbian, you must have SSH enabled
Step 2: Add it to Certificate Store
Run
sudo update-ca-certificatesto make it added to the certificate storeVerify with
ls -rla /etc/ssl/certs | grep <My CA Name>Step 3: Restart Hyperion
Beta Was this translation helpful? Give feedback.
All reactions