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
Using mapproxy-util autoconfig to generate config from a local WMS served under https but with a self-signed certificate,
Expected Behavior
Having a current mapproxy config with the following lines:
globals:
http:
ssl_no_cert_checks: True
I expect mapproxy-util to accept a self-signed certificate.
Actual Behavior
I get mapproxy.client.http.HTTPClientError: Could not verify connection to URL "https://<***REDACTED***>?service=WMS&version=1.1.1&request=GetCapabilities": [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Possible Fix
Either mapproxy-util should use the same config as mapproxy (at least the 'globals' section) or should have its own flag to disable ssl certificate check.
Steps to Reproduce
Run mapproxy-util autoconfig --output mapproxy_auto.yaml --capabilities https://.... with an URL served with an untrusted SSL certificate
Context
Either it's a bug or I'm missing something....?
Your Environment
Version used: 1.12.0
Environment name and version: containerised Python on Debian (image python:3.6.15-slim-buster)
The text was updated successfully, but these errors were encountered:
Context
Using mapproxy-util autoconfig to generate config from a local WMS served under https but with a self-signed certificate,
Expected Behavior
Having a current mapproxy config with the following lines:
I expect mapproxy-util to accept a self-signed certificate.
Actual Behavior
I get
mapproxy.client.http.HTTPClientError: Could not verify connection to URL "https://<***REDACTED***>?service=WMS&version=1.1.1&request=GetCapabilities": [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Possible Fix
Either mapproxy-util should use the same config as mapproxy (at least the 'globals' section) or should have its own flag to disable ssl certificate check.
Steps to Reproduce
Run
mapproxy-util autoconfig --output mapproxy_auto.yaml --capabilities https://....
with an URL served with an untrusted SSL certificateContext
Either it's a bug or I'm missing something....?
Your Environment
The text was updated successfully, but these errors were encountered: