python-devicecloud
python-devicecloud copied to clipboard
Expired Device Cloud certificate
The Device Cloud certificate attached to the project (devicecloud/data/devicecloud.crt) expired last year. Also, I have noticed that it is not included in the latest pypi distribution package (0.5.7).
@rubenmoral being that the site's Cert will now rotate every year, it was decided to not include it.
The certificate is needed for things like connecting a TCP monitor, the library raises an exception if it is not in the right path. What is a user supposed to do?
We'll add instructions to download the cert chain into the README.
FYI, there is also a main CA certificate that you can verify against that is a MUCH longer lasting certificate. But this means that your client would have to verify the certificate chain, and not just the 1yr pinned certificate.