[OWSLib-users] Question
Jasper Braakman
jasper.braakman at gmail.com
Mon Oct 11 03:19:17 PDT 2021
Dear Owslib,
When requisition from this url "
https://datalab.alkmaar.nl/geoserver/Alkmaar/wms?service=WMS&version=1.1.0&request=GetMap&layers=Alkmaar%3ALuchtfoto2020&bbox=108500.0%2C503500.0%2C124000.0%2C522000.0&width=643&height=768&srs=EPSG%3A28992&format=image%2Fjpeg"
by using this code:
wms_url = "https://datalab.alkmaar.nl/geoserver/Alkmaar/wms?service=WMS"
wms = WebMapService(wms_url, version="1.1.1")
I am constantly faced with the problem of this error:
SSLError: HTTPSConnectionPool(host='datalab.alkmaar.nl', port=443): Max
retries exceeded with url:
/geoserver/Alkmaar/wms?service=WMS&request=GetCapabilities&version=1.1.1
(Caused by SSLError(SSLCertVerificationError(1, '[SSL:
CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local
issuer certificate (_ssl.c:1091)')))
It seems like the security on the website is not up to date and python is
"protecting" me from this. Is there any way in Owslib to surpass this?
Kind regards
Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/owslib-users/attachments/20211011/96dd7150/attachment.html>
More information about the OWSLib-users
mailing list