Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-06 Thread Jorge Gustavo Rocha
Hi John, I was able to use the https WMS server on Ubuntu and on Windows. === Ubuntu 16.04.1 LTS, QGIS 64 bit: QGIS version 2.18.2 QGIS code revision 102ee87 Compiled against Qt 4.8.7 Running against Qt 4.8.7 Compiled against GDAL/OGR 1.11.3 Running against GDAL/OGR 1.11.3 Compiled against

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-05 Thread John Cartwright
Thanks Jorge, that helps confirm my suspicion. Are you running on linux? Based on this ticket (https://hub.qgis.org/issues/11473 ), it sounds like the supported protocols may be dependent on the version of Qt that QGIS is using. Do you happen to know which

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-05 Thread Jorge Gustavo Rocha
Hi John, I've captured QGIS packets to/from the WMS service, after clicking "Connect" on QGIS (to get the capabilities document). The print screen is available at [1]. Wireshark reports the protocol as TLSv1.2. Regards, Jorge [1]

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-05 Thread John Cartwright
Thanks. I used wireshark to trace the session and it appears that QGIS is attempting to make the connection with TLSv1 which I think is at least part of the problem. Can either of you tell me what protocol and cipher suites you’re using? what OS you’re running on? Is there anyway to force

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-04 Thread Pasquale Di Donato
Hi John, I can access your service too. Using QGIS 2.14.8. Maybe you have an issue with a proxy? Pasquale On Wed, Jan 4, 2017 at 12:57 AM, Jorge Gustavo Rocha wrote: > Hi John, > > I've added your WMS service and it works without any problem. I've just > added the url and

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-03 Thread Jorge Gustavo Rocha
Hi John, I've added your WMS service and it works without any problem. I've just added the url and the connect works. The capabilities are displayed. You can check the print screen [1] with your https WMS layer. I'm using QGIS 2.18.2 on Ubuntu. Which OS are you using? Regards, Jorge

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-03 Thread Luigi Pirelli
Hi John as far as I understand, you only added server CA in qgis auth configuration, and it's not enough to be authenticated by a fully SSL featured server, you need a client certificate identity that could be authorized by the server. Some identity that the server can trust. You have to add an

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-03 Thread John Cartwright
Thanks for your reply Luigi! To be clear, the WMS service that I’m trying to connect to does not require a username/password but is only available via https. The server (https://maps.ngdc.noaa.gov ) has a valid CA certificate. I tried adding a SSL Server

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-02 Thread Luigi Pirelli
Hi John SSL is managed storing credentials using the QGIS Authentication Manager that store credentials in the same way as Firefox, in a master pwd crypted store in your $home/.qgis2/qgis-auth.db. You should managed credentials using Settings->options->authentication. QGIS uses OpenSSL => and

[Qgis-user] WMS via https - "SSL handshake failed"

2016-12-29 Thread John Cartwright
Hello All, I’m trying to use a WMS service over https and get the following error when trying to connect: Failed to download capabilities: Download of capabilities failed: SSL handshake failed The URL works fine in a browser though. I’m guessing that QGIS and the server are not able to agree