cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re[2]: question about examples

From: Серега Касаткин <seregaz2004_at_mail.ru>
Date: Mon, 16 Feb 2015 13:09:45 +0300

 This certificates installs by some java applet on that site. A few of them always the same - i dont know how it names correctly - root certificates? they lay on site. And then this applet is starts and can import to window's storage personal certificate from special file from hdd - to "MY" certificate folder of storage. Then this certificate can be showed inside certificate selector for choice, when you enter to that site. So can i repeat this operation select of certificate and enter to site by use cURL? what example i need to study from your library? i mean only enter with certificate, not import operations. read from windows storage and enter :)

Понедельник, 16 февраля 2015, 10:32 +01:00 от Daniel Stenberg <daniel_at_haxx.se>:
>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