[mapserver-users] WMS Layer with secure http url

Smith, Michael ERDC-CRREL-NH michael.smith at usace.army.mil
Wed May 6 09:15:41 EDT 2009


Rather than putting the username/password in the URL, you can use the
metadata fields for the authentication

METADATA
  "wms_auth_username" "foo"
  "wms_auth_password" "{FF88CFDAAE1A5E33}"
  "wms_auth_type" "basic"
END


Mike


On 5/6/09 8:39 AM, "Alexandre Dube" <adube at mapgears.com> wrote:

> Thank you both for the tips, I'll try your solutions today.
> 
> Alexandre
> 
> Rahkonen Jukka wrote:
>> Hi,
>> When the certificate is OK the next thing to do is to change the connection
>> URL so that it includes username and password. If I remember right the format
>> is like https://username:password@foo.com/mapserv?....
>> 
>> -Jukka Rahkonen-
>> 
>> 
>> 
>> Michael Smith wrote:
>> 
>> 
>> Alexandre,
>> 
>> What you need is the servers root certificate added to your libcurl certs.
>> Its failing on validating the servers ssl certificate.
>> 
>> The curl-config should list your cert directory and then you can add your
>> cert there and it should validate.
>> 
>> Mike
>> 
>> 
>>   
> 



More information about the mapserver-users mailing list