Boost logo

Boost Users :

From: Eugene M. Kim (gene_at_[hidden])
Date: 2008-02-26 20:26:09


j.c. wrote:
> Hello,
> I have implemented a TLS client/server application and will be using
> self-assigned certificates due to the small scale of distribution. I
> am currently using the function load_verify_file("ca.pem"), however I
> don't want to write the certificate to end-users disk. What would be
> the proper way to use an "in-memory or compiled" certificate for peer
> verification?
I was trying to do the same thing, and unfortunately there seems to be
no API for this. I'm afraid you'd have to use directly the underlying
implementation (OpenSSL's SSL_CTX structure), which you can access with
ssl::context::impl() method. ;-(

Eugene




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net