cURL / Mailing Lists / curl-library / Single Mail

curl-library

SSL (ftp): names are the same but curl says they don't match (during host verification)

From: m.k. <maku_at_centrum.sk>
Date: Mon, 10 Mar 2014 20:08:43 +0100

Hello,

can you please have a look at the following issue ( see below pls)?

I'm using curl/nss version:
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7
NSS/3.14.3.0zlib/1.2.3 libidn/1.18 libssh2/1.4.2

is it a known issue?

Thank you very much
BR, Martin

-bash-4.1$ curl --cacert ca.crt --ftp-ssl --ftp-pasv --trace ll.log -v -u
rtp99:rtp ftp://joe:2021 <ftp://mat15.iit:2021>
Warning: -v/--verbose overrides an earlier trace/verbose option
* About to connect() to joe port 2021 (#0)
* Trying 31.15.31.71... connected
* Connected to joe (31.15.31.71) port 2021 (#0)
< 220 ProFTPD 1.3.1 Server (ProFTPD server) [::ffff:31.15.31.71]
> AUTH SSL
< 234 AUTH SSL successful
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: ca.crt
  CApath: none
* SSL: certificate subject name 'joe' does not match target host name 'joe'
* NSS error -12276
* Closing connection #0
curl: (51) SSL: certificate subject name *'joe*' does not match target host
name '*joe*'

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-10