Avoiding SSL issues with OpenWRT

Hi, I am following this guide on how to avoid self-signed SSL certificate issues when using openwrt presence detection. https://github.com/home-assistant/home-assistant/issues/1258#issuecomment-252469880

I . Copy your CA cert (make sure file extension is .crt) to /usr/share/ca-certificates/
2. $ sudo update-ca-certificates (make sure you see “1 added” in the output
3. Set environment variable REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt when you starts home assistant.

I am recieving the following error on step 2.

WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping

In step 1 I assume they mean copy my openwrt uhttpd.crt across to /etc/ssl/ca-certificates on the HA box. I can see that the ca-certificates.crt in /etc/ssl/certs has many certificates in it but this is the default certificate.

This integration has become amazingly complex. I dont want to use ssl at all and have no ides how I can simply get rid of it or use this workaround to ignore it.

Any help appreciated.

Gave up on this “solution”. Used the acme script https://github.com/Neilpang/acme.sh/wiki/How-to-run-on-OpenWRT
the generate a real certificate. NOTE: As I had restrictions on ports I had to change the script to use the TXT record challenge.