Page 1 of 1

RCF::Secure Comm (RCF::Tp_Ssl

Posted: Tue Jul 30, 2013 10:06 am
by Lck19
Hi

I am using RCF for Client Server communication. I wanted to use Tp_Ssl in my Client Server communication. i am trying the code given on site as

RCF::CertificatePtr serverCertPtr( new RCF::PemCertificate(
"C:\\serverCert.pem",
"password") );

server.setCertificate(serverCertPtr);

I am using platform linux,Boost_1_49_0. I am not able to compile it. RCF i am using latest one. Can u gave us sample Client server using Secure Communication (Tp_ssl).

Re: RCF::Secure Comm (RCF::Tp_Ssl

Posted: Tue Jul 30, 2013 10:27 am
by jarl
Which compiler errors are you getting?

Make sure you have RCF_USE_OPENSSL defined. Also, to use PemCertificate, you'll need to include <RCF/OpenSslEncryptionFilter.hpp> .