curl-users
Re: Help with an X509 certificate and cURL request
Date: Tue, 22 Jan 2008 17:01:58 +0100
> Then I suspect your cacert is bad. Try first with using -k (that disables the
> verifying of the server cert) to see that everything else is fine.
Enter PEM pass phrase: foofoo
* successfully set certificate verify locations:
* CAfile: /usr/share/ssl/certs/ca-bundle.crt
CApath: none
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=California/L=San Francisco/O=My
Company/OU=IT/CN=www.domain.com
* start date: 2006-07-26 11:13:37 GMT
* expire date: 2008-09-25 11:13:37 GMT
* common name: www.domain.com (matched)
* issuer: /C=US/O=Security Company/CN=Security Company CA-1
* SSL certificate verify result: error number 1 (20), continuing anyway.
> GET /webservice.asp?firstName=John&lastName=Smith HTTP/1.1
User-Agent: curl/7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1
OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
Host: www.domain.com
Pragma: no-cache
Accept: */*
< HTTP/1.1 403 Forbidden
Received on 2008-01-22