-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add option to disable certificate validation #326
Comments
@mschroeder-fzj you are right, this need to be set manually so far. We have also met the same issue, and "bypassed" it just like you did. I would probably not add a global option, because the use of session is optional. But it is good to include it to one of our tutorials/exampls. @mschroeder-fzj Let me know whether you have the time to contribute. Ohterwise, I or someone will take care of it :) Btw. @mwr-ebc you have tried adding the self-signed certificates to the trusted list, right? |
It doesn't have to be a completly global option. I don't know enough about the code to confidently contribute. |
We could provide an example of using session. For example, configuring the time-out and retry number |
Branch 326-Add-option-to-disable-certificate-validation created! |
@sbanoeon here is a reference implementation FiLiP/tests/clients/test_ngsi_ld_cb.py Lines 52 to 69 in 70042b4
|
Is your feature request related to a problem? Please describe.
When the module makes requests towards a FIWARE deployment (orion / iot-agent), that has e.g. self-signed certificates, the requests will fail with a Certificate Validation error.
Describe the solution you'd like
It should be possible to disable the certificate validation via a global defined variable like
ssl_verify = True
.In the corresponding request section it could look like:
The text was updated successfully, but these errors were encountered: