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 > 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 "MyProxy"<br><br>PROJECTION<br>  "init=epsg:1234"<br>END<br><br>WEB<br>  METADATA<br>    "wms_title" "Proxy for external https server"<br>
  END<br>  IMAGEPATH "/tmp/ms_tmp/" # check that this is writeable by mapserver<br>  IMAGEURL "/ms_tmp"<br>END<br><br>LAYER<br>  NAME "MyRemoteLayer"<br>  TYPE RASTER<br>  STATUS ON<br>  CONNECTION "<a href="https://path/to/server">https://path/to/server</a>?"<br>
  CONNECTIONTYPE WMS<br>  METADATA<br>    "wms_title"         "MyRemoteLayer"<br>    "wms_extent"  "418829.9650 511786.6808 786046.9273 964701.5937" # extents from <a href="http://spatialreference.org/ref/epsg/1234/">http://spatialreference.org/ref/epsg/1234/</a><br>
    "wms_auth_type"     "basic"<br>    "wms_auth_username" "XXXXXX" # username here<br>    "wms_auth_password" "YYYYYY" # password here<br>    "wms_srs"             "EPSG:1234"<br>
    "wms_name"            "Remote LayerNameFromCapabilities"<br>    "wms_server_version"  "1.1.1"<br>    "wms_format"          "image/jpeg"<br>  END<br>END<br>END<br>
<br>Vincent Hussey<br><br><br>