cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl and SSL DH server

From: MANOJ BANGARU <manojbangaru_at_gmail.com>
Date: Wed, 17 Sep 2008 16:26:56 +0530

Hi ,

I have a server where DH parameters are configured instead of a server
certificate. When I send a ssl request to that server curl exits saying peer
certificate not found.

=================================================
[atsuser_at_windu ~]$ curl -k
https://10.102.19.171/testsite/file5.html--ciphers ALL
curl: (51) SSL: couldn't get peer certificate!
[atsuser_at_windu ~]$ curl -k
https://10.102.19.171/testsite/file5.html--ciphers ALL -v
* About to connect() to 10.102.19.171 port 443
* Trying 10.102.19.171... * connected
* Connected to 10.102.19.171 (10.102.19.171) port 443
* successfully set certificate verify locations:
* CAfile: /usr/share/ssl/certs/ca-bundle.crt
  CApath: none
* SSL connection using ADH-RC4-MD5
* SSL: couldn't get peer certificate!
* Closing connection #0
curl: (51) SSL: couldn't get peer certificate!
=================================================

Can someone confirm whether or not curl supports and accepts DH parameters
instead of server certificate? If Yes, how to do the same?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-09-17