Skip to content

remove manual cert validation for vorwerk connections#83

Merged
stianaske merged 1 commit intostianaske:masterfrom
tofuSCHNITZEL:ssl_validation
Apr 16, 2025
Merged

remove manual cert validation for vorwerk connections#83
stianaske merged 1 commit intostianaske:masterfrom
tofuSCHNITZEL:ssl_validation

Conversation

@tofuSCHNITZEL
Copy link
Contributor

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
Contributor 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.

2 participants