AndreasAhrens.se


Views, guides, tech stuff, Cryptocurrencies and ICOs from the mind of Andreas Ahrens

Tags


AndreasAhrens.se

Home Assistant upgrade - Problem with ssl certificate

13th August 2017

A bit of an issue with upgrading Home Assistant again. I had the following problem:

Could not fetch URL https://pypi.python.org/simple/homeassistant/: There was a problem confirming the ssl certificate: [X509] PEM lib (_ssl.c:2736) - skipping

That led to all packages being skipped and HA not being updated. The solution was to specify to trust pypi.python.org.

pip3 install --upgrade homeassistant --trusted-host pypi.python.org

Of course, before doing this, I checked that the SSL Cert was indeed valid at pypi.python.org. The most common reason for this failure seems to be a mismatch between the system time of your machine and the machine of the server. In this case, my time seemed to be right on point though.

View Comments