-
Notifications
You must be signed in to change notification settings - Fork 289
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
v2.0.1 Setup error: certificate verify failed: unable to get local issuer certificate #323
Comments
Are you on a Mac? Does this link help? |
Home Assistant is running on a Raspberry Pi 3 B+ in a virtual environment in Raspbian Stretch (with Python 3.7 installed from source). |
Ok. The difference between 2.0 and 1.4 is we actually now require that the SSL certificate is valid. In 1.4, we ignored any problems verifying SSL. From a security perspective, we probably won't go back to the 1.4 behavior since by ignoring that check, someone could proxy between you and Amazon. I'm not sure it's a component error. Can you make sure your Raspbian has updated ca-certs? |
@alandtse It seems that ca-certificates wasn't even installed. After installing it (and running |
This is caused by the fact that |
For the adventurous, alexapy fix staged. |
Hey just wanted to say thanks for that comment. I just updated to the latest HA, python, alexa_media and OSX (Monterey) and have been struggling with that error for the last 3 hours. That link saved me!!! Command was slightly different from the link since I am on 3.9 now (/Applications/Python\ 3.9/Install\ Certificates.command) but I got the gist. Thanks again!!! |
Describe the bug
After updating to version 2.0.1, setup is failing with the error certificate verify failed: unable to get local issuer certificate
Downgrading to 1.4.1 fixes it.
Full error log:
To Reproduce
Steps to reproduce the behavior:
Update to version 2.0.1
Expected behavior
A clear and concise description of what you expected to happen.
Component setup successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
System details
const.py
or HA startup): 2.0.1pip show alexapy
or HA startup): 1.0.1Additional context
Add any other context about the problem here.
Configuration:
The text was updated successfully, but these errors were encountered: