[mapserver-users] WMS Layer with secure http url

Alexandre Dube adube at mapgears.com
Tue May 5 19:02:17 EDT 2009


Hi list,

  I'd like to know if it's possible to have a WMS layer linked to a 
secure http url (https).  Currently, I see this error in log :

=== LOG ===

[Tue May  5 18:53:01 2009].853725 msHTTPExecuteRequests(): HTTP request 
error. HTTP: request failed with curl error code 60 (SSL certificate 
problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate 
verify failed) for 
https://foo.com/cgi-bin/mapserv?map=map&LAYERS=Layer&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/png&STYLES=&HEIGHT=482&VERSION=1.1.1&SRS=EPSG:900913&WIDTH=732&BBOX=-7977472.96139656,6196959.95818015,-7973217.53860244,6199762.02619485&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage
[Tue May  5 18:53:01 2009].854421 msDrawWMSLayerLow(): WMS server error. 
WMS GetMap request failed for layer 'Layer' (Status -60: SSL certificate 
problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate 
verify failed).

===========

If I try the url in a browser with cookies/cache emptied, the url ask a 
login/password ( which I know... ) so I guess the WMS layer is refused 
to access the url since it doesn't have the login/password.  Is there a 
way to accomplish this ?

Many thanks,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the mapserver-users mailing list