cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Feature request: alternate server name/address

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 22 Apr 2015 22:21:11 +0200

On Wed, Apr 22, 2015 at 10:29:53AM +0200, Gaston Gloesener wrote:
> Today many hosters, especially when using shared servers, do now allow to
> upload certificates to the users site. This leads to certificate errors if one
> uses curl to upload the site using SSL as the certificate does not match the
>
> curl: (51) SSL: no alternative certificate subject name matches target host
> name ‘xxxx’
>
> I hope I did not miss something, but as far as I know, currently the only way
> to get around this is to use the –insecure option. I would like to make a
> proposal for an alternate method which would increase the security of such
> connections:

Take a look at the --resolve option. This is one of the primary use cases for
which it was implemented.

>>> Dan
-------------------------------------------------------------------
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 2015-04-22