Hi,<br><br>I am trying to connect to a remote wms server from QGIS using https with basic authentication.  QGIS version is 1.5.0-4.3 for x86_64 on opensuse 11.3 (rpm from Application:Geo repo).<br><br>I have not been successful using the Layer &gt; Add WMS Layer tool in QGIS. Ticket #2892 appears to refer to this issue. It looks like this will be fixed in QGIS 1.6.0.  This is a show-stopper for me, in encouraging colleagues to use this software.<br>
<br>I have come up with a workaround for a **secure** internal network, using mapserver wms client.  It might be useful to others.<br><br>URL: <a href="http://localhost/cgi-bin/mapserv?map=myproxy.map">http://localhost/cgi-bin/mapserv?map=myproxy.map</a><br>
<br>Mapfile: /srv/www/cgi-bin/myproxy.map<br><br>MAP<br>NAME &quot;MyProxy&quot;<br><br>PROJECTION<br>  &quot;init=epsg:1234&quot;<br>END<br><br>WEB<br>  METADATA<br>    &quot;wms_title&quot; &quot;Proxy for external https server&quot;<br>
  END<br>  IMAGEPATH &quot;/tmp/ms_tmp/&quot; # check that this is writeable by mapserver<br>  IMAGEURL &quot;/ms_tmp&quot;<br>END<br><br>LAYER<br>  NAME &quot;MyRemoteLayer&quot;<br>  TYPE RASTER<br>  STATUS ON<br>  CONNECTION &quot;<a href="https://path/to/server">https://path/to/server</a>?&quot;<br>
  CONNECTIONTYPE WMS<br>  METADATA<br>    &quot;wms_title&quot;         &quot;MyRemoteLayer&quot;<br>    &quot;wms_extent&quot;  &quot;418829.9650 511786.6808 786046.9273 964701.5937&quot; # extents from <a href="http://spatialreference.org/ref/epsg/1234/">http://spatialreference.org/ref/epsg/1234/</a><br>
    &quot;wms_auth_type&quot;     &quot;basic&quot;<br>    &quot;wms_auth_username&quot; &quot;XXXXXX&quot; # username here<br>    &quot;wms_auth_password&quot; &quot;YYYYYY&quot; # password here<br>    &quot;wms_srs&quot;             &quot;EPSG:1234&quot;<br>
    &quot;wms_name&quot;            &quot;Remote LayerNameFromCapabilities&quot;<br>    &quot;wms_server_version&quot;  &quot;1.1.1&quot;<br>    &quot;wms_format&quot;          &quot;image/jpeg&quot;<br>  END<br>END<br>END<br>
<br>Vincent Hussey<br><br><br>