cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: question about examples

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 Feb 2015 10:32:58 +0100 (CET)

On Sun, 15 Feb 2015, Серега Касаткин wrote:

> i see three examples of code for certificate cases for https autorization.
> but this code read certificate from body of programm.

That's why they are examples because that's not how you normally do it.

> can you make another type of autorization, where when you go to cite, it
> shows special window with certificate selector, when you need chioce one
> certificate and only after this autorization is happen.

What certificates would you select from? Are you talking about client
certificates?

Also, the functionality may differ slightly depending on which TLS backend
your libcurl is built to use.

> list of certificate browser get from windows registry or windows storrage,
> or how it names.

libcurl already use the windows CA certificates by default if built with the
schannel backend. If you for example use OpenSSL instead, then you can't make
it use the windows bundle but you must instead provide your own.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-16