I would like to be able to hard code the key/cert in the
application instead of having files.

Is there something similar to: SSL_CTX_use_PrivateKey_file
and SSL_CTX_use_PrivateKey_file but that I can use pointers
memory? 

If so, how do I convert the current files into that binary
data format?

I would also like to have already in memory the cert chain
for the root cert.

The goal is to distribute a single binary that doesn't depend
on any external files that can verify that it is connecting
to the right server.

Thanks,

Alberto

-- 
Alberto Alonso                        Global Gate Systems LLC.
(512) 351-7233                        http://www.ggsys.net
Hardware, consulting, sysadmin, monitoring and remote backups

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to