[reSIProcate] using certificates in reSIProcate
Kovar, William (Bill)
bkovar at avaya.com
Wed Mar 14 08:05:50 CDT 2007
I believe a simple way to achieve this is when you are instantiating the
SipStack.
The directory to read the certs from is specified in the construction of
the Security object.
if (mProxy.uri().scheme() == resip::Symbols::Sips) {
Security* pSecurity = new Security(Data("../etc/"));
TheStack= new SipStack(pSecurity);
TheStackThread = new StackThread(*TheStack);
TheStack->addTransport(TLS, SIP_TLS_PORT, V4, StunDisabled,
Data::Empty, Data::from(strDomain));
mProxy.param(p_transport) = "tls";
InfoLog(<< "TLS enabled");
} else {
TheStack= new SipStack();
TheStackThread = new StackThread(*TheStack);
InfoLog(<<"TLS is not enabled");
}
Bill Kovar
_____
From: resiprocate-devel-bounces at list.resiprocate.org
[mailto:resiprocate-devel-bounces at list.resiprocate.org] On Behalf Of
Zohar Landau (TA)
Sent: Wednesday, March 14, 2007 2:44 AM
To: resiprocate-devel at list.resiprocate.org
Subject: [reSIProcate] using certificates in reSIProcate
Hi ,
I'm trying to find out how to use a certificate I've created
using openssl (where to put the file and how to make the application
know which file it is).
Tried to search the wiki but couldn't find anything.
Thanks
Zohar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070314/236899f7/attachment.htm>
More information about the resiprocate-devel
mailing list