[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] get-location-segments.py would work on self-signed ssl servers too

From: Prabhu Gnana Sundar <prabhugs_at_collab.net>
Date: Fri, 19 Aug 2011 15:51:55 +0530

On Thursday 18 August 2011 10:07 PM, Daniel Shahaf wrote:
> Prabhu Gnana Sundar wrote on Thu, Aug 18, 2011 at 21:55:28 +0530:
>> On Thursday 18 August 2011 06:46 PM, Daniel Shahaf wrote:
>>> I tried your patch against https://svn.eu.apache.org/repos/asf/subversion/README
>>> (which uses a non-self-signed cert, but rather one for which the cert's
>>> hostname differs from the URI's hostname), and it didn't seem to work:
>>>
>>> ..
>>> What am I missing?
>> I did not consider this scenario while giving this patch... And this
>> patch does not intend to solve this issue.
> I'm not sure /why/ the patch doesn't handle this (technically), but
> I expect handling all failure bits (rather than just the "self signed"
> bit) to be a low-hanging fruit that could easily (and should) be
> integrated into the patch.

I am getting the following traceback:

[[[

Traceback (most recent call last):
   File "./tools/examples/get-location-segments.py", line 147, in <module>
     main()
   File "./tools/examples/get-location-segments.py", line 142, in main
     ra_session = ra.open(url, ra_callbacks, None, ctx.config)
   File "/usr/lib/pymodules/python2.6/libsvn/ra.py", line 534, in
svn_ra_open
     return _ra.svn_ra_open(*args)
svn.core.SubversionException: ("OPTIONS of
'https://svn.eu.apache.org/repos/asf/subversion/README': SSL handshake
failed: SSL error: A TLS warning alert has been received.
(https://svn.eu.apache.org)", 175002)

]]]

The openssl I am using is : OpenSSL 0.9.8o 01 Jun 2010 in Ubuntu 10.10

Will work on this...

--Prabhu
Received on 2011-08-19 12:22:45 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.