curl, PKCS12 certificate from memory buffer , openssl and darwin (apple) ssl

2016-07-19 Thread Gilles Vollant
Hello, I've an application which uses curl to download from an https server, which client certificat PKCS12 from memory buffer. It run fine by compiling mu application with curl and openssl, with callback for creating certificate object from memory (see below). Under Apple (mac and ios),

Using PKCS12 certificate from memory

2016-08-05 Thread Gilles Vollant
Hello, I've an application which need use a PKCS12 client side certificate from memory buffer. Unfortunately, there is no natural way to do it with libcurl. Below, I show my method with 1) DarwinSSL (the Apple system SSL library for iOS and MacOSX) : I had to modify curl/lib/vtls/darwinssl.c

RE: Using PKCS12 certificate from memory

2016-09-21 Thread Gilles Vollant
-Message d'origine- De : Gilles Vollant [mailto:vollan...@gmail.com] Envoyé : mercredi 21 septembre 2016 09:08 À : 'Gilles Olivier Vollant' Objet : RE: Using PKCS12 certificate from memory I tried the "binary" option you suggested, and this not perform well. Only the bas

RE: Using PKCS12 certificate from memory

2018-06-25 Thread Gilles Vollant
e must use long or curl_off_t size (of course, certificate will never be bigger than 1 or 2 megabytes) Regards Gilles Vollant --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html

RE: Using PKCS12 certificate from memory

2018-06-21 Thread Gilles Vollant
/ CURLOPT_SSLKEYDATA / CURLOPT_COPYSSLKEYDATASIZE CURLOPT_COPYCAINFODATA / CURLOPT_CAINFODATA / CURLOPT_CAINFODATASIZE Regards Gilles Vollant -Message d'origine- De : curl-library [mailto:curl-library-boun...@cool.haxx.se] De la part de Daniel Stenberg Envoyé : mercredi 21 septembre 2016 13

RE: A first proposal patch for using Windows certificate store when compiling with openssl

2018-09-11 Thread Gilles Vollant via curl-library
having a Windows executable of curl.exe which use it and Windows store without specifying option can be great !! Regards Gilles Vollant --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html

curl --data slow with big file

2019-09-12 Thread Gilles Vollant via curl-library
nd uses -d / --data just because the file is a text file. So I suggest modifying file2string to call realloc less often, like file2memory. Regards Gilles Vollant --- Unsubscribe: https://cool.haxx.se/list/listinfo/cu

RE: curl --data slow with big file

2019-09-12 Thread Gilles Vollant via curl-library
buffer); stringlen += buflen; } } *bufp = string; return PARAM_OK; } -Message d'origine- De : Daniel Stenberg [mailto:dan...@haxx.se] Envoyé : jeudi 12 septembre 2019 09:29 À : Gilles Vollant via curl-library Cc : Gilles Vollant Objet : Re: curl --data slow with big file On T

curl library pull request for option to use windows ca store with openssl

2019-09-13 Thread Gilles Vollant via curl-library
I made a pull request for an option to use windows ca store with openssl https://github.com/curl/curl/pull/4346/ there is a travis error but I don't understand it regards Gilles Vollant --- Unsubscribe: https

Two curl pull request for Windows

2019-09-15 Thread Gilles Vollant via curl-library
ute, can you help me for next steps? Thank you a lot, Regards Gilles Vollant --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html

Support of pkcs12 certificate in memory for libcurl

2019-09-18 Thread Gilles Vollant via curl-library
I made a new PR #4371, to allow application using libcurl with a pkcs12 SSL client certificate in memory instead file. https://github.com/curl/curl/pull/4371 We talked 3 year ago about this feature.

(Pull release 4346)

2019-10-03 Thread Gilles Vollant via curl-library
Hello We talked last year about using Windows certificate store for Windows curl compiled with openssl. I suggest , if you can, testing my pull release which add the feature Regards Gilles Vollant https://github.com/curl/curl/pull/4346 https://curl.haxx.se/mail/lib-2018-09

RE: Problem adding TLS 1.3 support on curl - schannel on Windows 21H2 preview

2021-04-29 Thread Gilles Vollant via curl-library
/windows/win32/api/schannel/ns-schannel-sch_ credentials De : Gilles Vollant Envoyé : jeudi 29 avril 2021 09:46 À : 'curl-library@cool.haxx.se' Objet : Problem adding TLS 1.3 support on curl - schannel on Windows 21H2 preview Hello, I have installed Windows 2022 preview (same base than

Problem adding TLS 1.3 support on curl - schannel on Windows 21H2 preview

2021-04-29 Thread Gilles Vollant via curl-library
: SEC_E_ALGORITHM_MISMATCH (0x80090331) - The client and server cannot communicate, because they do not possess a common algorithm. Any idea? Regards Gilles Vollant https://github.com/gvollant/curl/tree/gv_schannel_tls13 https://github.com/curl/curl/discussions/6958 https