cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL certificates problem when connection to different port

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 21 Feb 2014 17:17:15 +0100 (CET)

On Fri, 21 Feb 2014, David Kretzmer wrote:

> I'm trying to connect to a server via HTTPS using a non-standard port:
> curl https://www.example.com:8080
> but I'm getting the following error:

...

> If I don't specify a port everything works fine. Any ideas?

The server probably serves you different certificates on the different ports,
and the one on 8080 is then probably self-signed or otherwise not verifyable
by your ca cert bundle.

Verbose output with -v probably reveals this.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-21