GDAL WMS driver should skip ssl verification and support authentication
|Reported by:||atte||Owned by:||nowakpl|
...because that's what the WCS driver does in trunk (port/cpl_http.cpp).
wms driver (frmts/wms/gdalhttp.cpp) doesn't skip ssl verification, so you can't connect to a server that's using self-signed cert.
Authentication works if you pass the username and password in url (https://<username>:<password>@<host>/...), but it would be better do it like in wcs via <UserPwd> for consistency and to support different auth types <HttpAuth> (#3091).