I am developing a program in which I have a virtual development server that works with a self-signed certificate. My program uses curl to connect to the server and retrieve information, but this must be done using SSL. When I try to connect, I get the error "SSL certificate error, make sure the CA certificate is in order." When starting firefox, I can only add the certificate in firefox, but this does not help me with a twist. How to add a certificate for curls to recognize?
curl 7.19.7 (x86_64-pc-linux-gnu) libcurl / 7.19.7 OpenSSL / 0.9.8k zlib / 1.2.3.3 libidn / 1.15 Protocols: tftp ftp telnet dict ldap ldaps http https ftps file Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
Ubuntu 10.04 Lucid Lynx 64bit
source
share