On Tuesday, 18 October 2016 at 17:49:16 UTC, Adam D. Ruppe wrote:
On Tuesday, 18 October 2016 at 17:39:45 UTC, Nrgyzer wrote:
But it's not working. I'm always getting the following error:


What happens if you go to that HTTPS url in your normal web browser?

I kinda expect the server isn't actually running https.

I can access the page and when I run curl from the cli I'm also retrieving the data:

odroid@odroid-server:/tmp/arm-unknown-linux-gnueabihf/bin$ curl <Private HTTPS Url> -verbose >> /tmp/test
* About to connect() to <Private HTTPS Url> port 443 (#0)
*   Trying <Ip Address>...
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to <Private HTTPS Url> (<Ip Address>) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using ECDHE-RSA-AES256-SHA
* Server certificate:
*        subject: <Hidden for privacy purposes>
*        start date: 2015-11-14 00:00:00 GMT
*        expire date: 2016-11-19 23:59:59 GMT
*        subjectAltName: <Hidden for privacy purposes> matched
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Extended Validation Secure Server CA
*        SSL certificate verify ok.
GET /api/GetMarkets HTTP/1.1
User-Agent: curl/7.29.0
Host: <Private HTTPS Url>
Accept: */*
Referer: rbose

0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: application/json; charset=utf-8
< Expires: -1
< Server: Microsoft-IIS/8.5
< X-AspNet-Version: 4.0.30319
< Date: Tue, 18 Oct 2016 17:57:54 GMT
< Content-Length: 567103
<
{ [data not shown]
100 553k 100 553k 0 0 219k 0 0:00:02 0:00:02 --:--:-- 219k
* Connection #0 to host <Private HTTPS Url> left intact

Reply via email to