curl-library
RE: VerifyPeer in OpenSSL vs DarwinSSL
Date: Fri, 18 Mar 2016 18:25:10 +0000
Hi guys
I made good progress on the Android track. The information around how to
access the KeyStore was really confusing but I managed to get it to work.
Please see this gist for the example code:
https://gist.github.com/johanlantz/6c53af21723ac9adfd00
I do have some additional questions.
1. In Android there is around 150 certificates (amounting to around 25k of
data). In my case I will know which is the relevant one. Does it make
sense to ensure this certificate is prepended in the list so you find it
first?
2. Is this verification cached somehow in libcurl? From what I can see I
assign it per easy handle but all my communication is towards the same
server how does it work? I assume you keep the connection alive somehow
but how
So far so good on both iOS and Android, will test more next week.
Johan
________________________________
Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.
The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.
Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-18