You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our corporate firewall inserts its own self signed certificate in the SSL chain. For quick development I usually test things using the verify=False option in request calls.
When I tested some WMS functionality of OWSlib I first created a simple Authentication object like so:
myauth=Authentication(verify=false)
Passing myauth to WebMapService(..., auth=myauth) worked as expected. But when I tried to do the same for OGC API Features(..., auth=myauth) calls I got SSL self signed certificate errors.
Upon inspecting the code I saw that the auth.verify value is never used in the http_prepare() function, unlike in the openURL() function used for i.e. WMS.
PS I assume another potential problem lies with the pop() statements like this followed by a get() later on here which will always be empty since the value was popped out of the dictionary?
The text was updated successfully, but these errors were encountered:
Our corporate firewall inserts its own self signed certificate in the SSL chain. For quick development I usually test things using the
verify=False
option in request calls.When I tested some WMS functionality of OWSlib I first created a simple Authentication object like so:
Passing
myauth
to WebMapService(..., auth=myauth) worked as expected. But when I tried to do the same for OGC API Features(..., auth=myauth) calls I got SSL self signed certificate errors.Upon inspecting the code I saw that the auth.verify value is never used in the
http_prepare()
function, unlike in theopenURL()
function used for i.e. WMS.I created a PR to fix this 37cfb31
PS I assume another potential problem lies with the pop() statements like this followed by a get() later on here which will always be empty since the value was popped out of the dictionary?
The text was updated successfully, but these errors were encountered: