Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102657

Configure SSL to Work with Mobile App

$
0
0

@dreamzboy wrote:

I’ve been trying to connect to my Home Assistant Android Mobile App with SSL certificate enabled but I couldn’t figure it out. It does; however, work by typing https://mydomain.com:8123 over web browser on both desktop and phone. It’s just the app that couldn’t connect. I have my own DNS service and is using Docker for my setup. I’m getting the following error.

Unable to connect to Home Assistant

Unable to communicate with Home Assistant because of an SSL error. Please ensure your certificate is valid

I’ve tried the following as suggested by other threads:

Configuration.yaml:

http:
  #base_url: https://kenmain.asuscomm.com:8123   <--- Makes no difference
  base_url: https://kenmain.asuscomm.com  #<--- Same results as above
  ssl_certificate: /config/fullchain.pem
  ssl_key: /config/privkey.pem

Reference threads:

My guess would be because the Certificate is Self-Signed (using this method) and so the App cannot access the certificate key. Then again, why did the browser work but not the app?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 102657

Trending Articles