Home » U++ Library support » U++ MT-multithreading and servers » SSLSocket VerifyPeer -> how to set trusted CAs?
SSLSocket VerifyPeer -> how to set trusted CAs? [message #7242] |
Tue, 19 December 2006 12:08 |
fallingdutch
Messages: 258 Registered: July 2006
|
Experienced Member |
|
|
Hi
at the moment i am looking around for a way to set my own CA to be trusted.
The openssl function is:
int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath);
And now i am wondering wether there is another way or it is not yet implemented?
Bas
|
|
|
|
Re: SSLSocket VerifyPeer -> how to set trusted CAs? [message #7267 is a reply to message #7265] |
Tue, 19 December 2006 22:30 |
fallingdutch
Messages: 258 Registered: July 2006
|
Experienced Member |
|
|
Yes, Thomas, you did paste such a code, i remembered it, too and it was the same i am using for XmlRpc, so i was pretty glad that i understood your SSL implementation.
Will you extend the SSL Socket implementation or do you want to keep it the way it is?
I thought of another function, too SSL_CTX_use_certificate_file and SSL_CTX_use_PrivateKey_file eg by UseCertificateFile()
If you want i can send Mirek a patch to patch the SSL implementation.
Bas
|
|
|
Goto Forum:
Current Time: Mon May 06 04:33:39 CEST 2024
Total time taken to generate the page: 0.02468 seconds
|