Re: HTTPS with LIBCURL issue
Date: Tue, 12 Aug 2008 19:03:21 +0200
On Tue, 2008-08-12 at 21:44 +0530, Aravinda babu wrote:
> Suppose the server sent a self signed cert.Now my Application has to
> ask user whether to accept this connection, or reject connection as
> this is self signed which cannot be authenticated by any CA. This has
> to be done during SSL connection establishment.Hope you understand my
Please find attached a quick n'dirty example program that does what you
want using the CURLOPT_SSL_VERIFYPEER option. It does not interact with
SSL but performs a second request upon user acceptance.
I hope it helps.
- text/x-csrc attachment: curlaskucert.c__charset_utf-8