Skip to content
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

remove manual cert validation for vorwerk connections #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tofuSCHNITZEL
Copy link

Because the certificate for the vorwerk endpoint is not as long lived as the one for neatocloud (1y vs selfsigned until 2045)
I suggest removing the manual certificate validation in favour of the requests library built in cert validation.
cert_path is used directly as input for requests "verify" option so setting it to "True" should result in requests validating the cert with the systems certificate store.

this PR is the better alternative to #82 where we would need to monitor the vorkwerk endpoint cert and replace the cert and bump the version for this package every time

@tofuSCHNITZEL
Copy link
Author

this still might generate "Unverified HTTPS request is being made" warnings when used in home assistant... not sure why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant