< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Resiprocate TLS help


Ok, I see. Then what am I doing wrong?
I'm just using one of the makeResponse functions to create the response and 
then passing it to the stack send function.

/KJ

>-----Ursprungligt meddelande-----
>Från: Boris Rozinov [mailto:borisrozinov@xxxxxxxx]
>Skickat: den 22 november 2007 16:02
>Till: Krister Jarl; resiprocate-users@xxxxxxxxxxxxxxx
>Ämne: Re: [reSIProcate-users] Resiprocate TLS help
>
>It is not OK to try to open new conection for sending
>response; UA should reuse the same connection that the
>request was received on. Only if this connection is
>down, UA should open new connection based on value
>retrieved in Via header.
>
>--- Krister Jarl <kj@xxxxxxxxxxx> wrote:
>
>> Hi!
>>
>>
>>
>> I'm using the resiprocate stack to implement TLS
>> support for our
>> application, but I've encountered some problems.
>>
>>
>>
>> I've set up the security object and passed it to the
>> stack. Receiving an
>> INVITE works perfectly but when I'm trying to send a
>> 100 Trying response
>> I get the following:
>>
>> connection id 4 exists, but does not match the
>> destination. ("Cid" and
>> "Tuple" does not match. From what I can see the only
>> thing that differs
>> is the remote port.)
>>
>>
>>
>> So resiprocate then tries to set up a new connection
>> (I guess this is
>> OK?). However, during the handshake there's a
>> certificate mismatch.
>>
>> "Certificate name mismatch: trying to connect to <>
>> remote cert
>> domain(s) are <X.X.X.X>"
>>
>>
>>
>> The remote cert domain is correct but why is target
>> domain empty?
>> Checking the log file I can see that the target
>> domain is 'unspecified'.
>>
>> I'm betting that I've overlooked something simple.
>> All help is much
>> appreciated!
>>
>>
>>
>> Also, when sending requests, can I think of the
>> TlsTransport as an
>> "encrypted pipe" just throwing my requests into it
>> or do I have to take
>> some special actions before sending?
>>
>>
>>
>> Cheers,
>>
>> KJ
>>
>> > _______________________________________________
>> resiprocate-users mailing list
>> resiprocate-users@xxxxxxxxxxxxxxx
>> List Archive:
>http://resiprocate.org/archive/resiprocate-users/
>
>
>
>      Looking for the perfect gift? Give the gift of Flickr!
>
>http://www.flickr.com/gift/
>