Re: How can I load a PEM key stored in a string instead from a file?

2010-10-29 Thread Leandro Santiago
Thank you very much! I've used d2i_PrivateKey_bio() with the BIO I get from the key buffer. 2010/10/29 Erik Tkal : > How about using the d2i_ functions? > > > > Erik Tkal > Juniper OAC/UAC/Pulse Development > > -Original Message- > From: owner-openssl-

RE: How can I load a PEM key stored in a string instead from a file?

2010-10-29 Thread Erik Tkal
How about using the d2i_ functions? Erik Tkal Juniper OAC/UAC/Pulse Development -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Leandro Santiago Sent: Friday, October 29, 2010 7:26 AM To:

Re: How can I load a PEM key stored in a string instead from a file?

2010-10-29 Thread Leandro Santiago
Thanks to all. I've resolved my first problem, load the PEM from a string. I've used BIO_new_mem_buf() and PEM_read_bio_PrivateKey(). But now I've seen that it works well with PEM keys, and now I'm trying to use a DER key, again from a string. Is there something like DER_read_bio_PrivateKey()? 20

ocsp through proxy

2010-10-29 Thread Fernando Ruza Rodriguez
Hi, We use openssl ocsp to make certificate checks in an application inside our company and openssl has to do the check through the company proxy. We have seen that openssl doesn't use httt_proxy environment variable neither use any parameter to use proxy. Also, we have seen that squid (which is t

[MinGW] undefined reference to `ERR_unload_strings'

2010-10-29 Thread Sisyphus
Hi, Building recent openssl (0.9.8n, 0.9.8o) from source in the MSYS shell with the MinGW port of 6cc-3.4.5. When trying to build a shared library (dll), I do './config --shared && make'. Everything is fine until, during the 'make' stage, we switch to the 'engines' directory: make[1]: Enter