Hi everybody I am new to this list.
I am trying to implement TLS using the OpenSSL APIs. I am facing few problems
1. For using the private key which one (SSL_CTX_use_PrivateKey_file or SSL_CTX_use_RSAPrivateKey_file) has to be used and when. I am at presently using SSL_CTX_use_PrivateKey_file. Can anybody please tell me in detail what is the condition to be put in the code for using SSL_CTX_use_PrivateKey_file or SSL_CTX_use_RSAPrivateKey_file. I have seen man pages but not able to interpret the codition. Can anybody explain me clearly what Keys cannot be loaded with SSL_CTX_use_PrivateKey_file (file is in PEM format)
2. I have seen the flag OPENSSL_NO_RSA ..which according to me means that RSA portion will not be compiled. Is this correct according to the TLS standard if I dont use RSA at all.
3. Can all types of keys in PEM format be loaded with the SSL_CTX_use_PrivateKey_file including the RSA one
s.
I am waiting for your reply :) Thanks in advance regds ddeve
|
|
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com