RCF::Secure Comm (RCF::Tp_Ssl

RCF support and general discussion.
Post Reply
Lck19
Posts: 1
Joined: Tue Jul 30, 2013 9:58 am

RCF::Secure Comm (RCF::Tp_Ssl

Post 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).

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

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

Post 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> .
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply