Is it necessary for a server to use certificates? 
Can the server only use a private key?

Otherwise how do you generate matching certificates and
private keys?  I tried to generate a certificate, but it 
doesn't match with the private key.

Here's the basic structure of my server:

SSLeay_add_ssl_algorithms()
create new context w/ sslv3 server method
SSL_CTX_use_certificate_file() // necessary?
SSL_CTX_use_PrivateKey_file()
SSL_CTX_check_private_key()
bind, listen, ...
SSL_new()
SSL_accept()
read/write

I tried removing the use_certificate and check private key
function calls, but then I get an error saying there are no
shared ciphers.  

Thanks in advance.

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

Reply via email to