Thanks for the explanation about the redirect; that makes perfect sense now.
It would be great if there were an "unsafeSSL" option like Jukka mentioned GDAL
has; figured I should at least ask whether something like that existed. At
least I now have confidence that I'm not missing some more
Awesome Jeff: thanks much for this very useful and timely documentation.
..Tom
> -Original Message-
> From: mapserver-users On
> Behalf Of Jeff McKenna
> Sent: June 9, 2020 11:26
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] SSL curl error when hitting HTTP WMS
update: I've given some much needed love to the HTTPS document and
referenced it throughout the docs now:
https://mapserver.org/ogc/wxs_secure.html
-jeff
On 2020-06-09 7:10 a.m., Jeff McKenna wrote:
The WMS service that you mention redirects all requests to HTTPS:
Should a bug/enhancement request be opened against this?
Maybe there should be an option like:
PROCESSING "UNSAFESSL=YES"
So mapserver can handle this directly from the mapfile?
-Steve W
On 6/9/2020 6:55 AM, Rahkonen Jukka (MML) wrote:
Hi,
The service indeed seems to redirect into https
Hi,
The service indeed seems to redirect into https address.
GDAL has an "unsafeSSL" option but I believe that Mapserver does not
http://osgeo-org.1560.x6.nabble.com/https-url-with-MapServer-as-WMS-client-td5332403.html.
Perhaps you could bypass the certificate check by setting a general curl
I'm attempting to hit a WMS using HTTP, not HTTPS, but I run into the following
SSL error
HTTP: request failed with curl error code 60 (SSL certificate problem: unable
to get local issuer certificate)
I can get around this error by downloading a CA bundle file and setting the
CURL_CA_BUNDLE
The WMS service that you mention redirects all requests to HTTPS:
https://basemap.nationalmap.gov/arcgis/services/USGSTopo/MapServer/WmsServer?
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
co-founder of FOSS4G
http://gatewaygeo.com/
On 2020-06-09 2:46 a.m., John