New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error setting up platform Luci [SSL: CERTIFICATE_VERIFY_FAILED] #1258
Comments
There would be two possible solutions here:
I would lean strongly towards the first option. |
I would totally do that for an external facing setup. But for this case where it's a hobby level project in my house I'm not that concerned. It's not to say I'm not concerned with security but the effort vs payoff without more automation isn't there. Maybe Openwrt or Lede will make that easier but for the time being I was just hoping to be able to work around it. |
I would suggest to copy the platform to custom components folder and add On Mon, Jun 6, 2016, 15:57 Rob Chapman notifications@github.com wrote:
|
What's the point of using TLS at all then? If someone has compromised your network to the point that they can snoop on that traffic, then they can man-in-the-middle the traffic just as easily. An untrusted self-signed cert provides absolutely 0 protection. If you're set on using a self-signed cert, you should add it to your local trust store (which will also fix your verification issue). |
I had the same problem with custom root certificate when running this on raspberry pi. here is how I fixed it I . Copy your CA cert (make sure file extension is .crt) to /usr/share/ca-certificates/ The "requests" library used for making HTTPS requests to openwrt seems to bundle its own CA bundle by default and this should override the behavior. |
Closing this issue because valid workarounds have been provided. |
The self-signed ssl cert used for logging into luci openwrt appears to be causing trouble with using the luci presence detection.
The text was updated successfully, but these errors were encountered: