|
Jukka Rahkonen created an issue |
Issue Type: |
|
---|---|
Affects Versions: |
2.7-RC1, 2.6.2 |
Assignee: |
|
Attachments: |
karttakuva-testi.mmmtike.fi.txt, TikeTESTIRootCA2009.txt, TikeTESTIServerCA2011.txt |
Created: |
11/Mar/15 6:58 AM |
Environment: |
Any |
Labels: |
WMS |
Priority: |
|
Reporter: |
MapServer WMS is sending GetCapabilities document with an extended schema and for making the document to validate the extension should be fetched from the server with a special GetSchemaExtension request. This is how the GetCapabilities document begins. <WMS_Capabilities version=“1.3.0” xsi:schemaLocation=“http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://mapserver.gis.umn.edu/mapserver https://karttakuva-testi.mmmtike.fi/cgi-bin/mmm_julkinen_wms?service=WMS&version=1.3.0&request=GetSchemaExtension”> Geoserver can’t read the schema extension if the remote server requires authentication. The reason is that the username and password which are configured for the WMS store are not used when Geoserver makes the GetSchemaExtension request (in this case https://karttakuva-testi.mmmtike.fi/cgi-bin/mmm_julkinen_wms?service=WMS&version=1.3.0&request=GetSchemaExtension). Server sends back only http error 401 “Not authenticated” and Geoserver can’t make the store. I made a service that requires basic auth with username/password “foobar/foo” into Server has self-signed certificate. Certificate files are attached to the ticket so they can be added to the keystore of jre. Previous discussion: http://sourceforge.net/p/geoserver/mailman/message/32853923/ |
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) |
|