From: Levy itai <[EMAIL PROTECTED]>
itai> Is it possible to load more then 1 server certificate ?
itai> Currently I'm using the SSL_CTX_use_certificate_file, and the
itai> SSL_CTX_use_PrivateKey_file in order to load the certificate and
itai> the private key at the initialization of the process.
itai> I want to be able to load more then one certificate because
itai> there is more then one web server behind my SSL gateway.
You have two choices:
1. create one SSL_CTX for each virtual web server and use the
appropriate one each time you accept.
2. Don't set things up early. Rather, do it near the point of
accept, using SSL_use_certificate_file and SSL_use_PrivateKey_file
or something similar.
Personally, I find the first variant to be more efficient and morre
intuitive.
--
Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]