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

Re: running test-suite over https

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 13 Aug 2012 14:27:20 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Johan Corveleyn <jcorvel_at_gmail.com> writes:
>
>> <philip.martin_at_wandisco.com> wrote:
>>> Me. subversion/tests/cmdline/davautocheck.sh does the relevant magic to
>>> setup Apache if one uses:
>>>
>>> make davautocheck USE_SSL=1
>>
>> Nice. I made a change (locally) to win-tests.py to also pass this
>> option, but it doesn't seem to work properly. I created a CA
>> certificate and signed a server cert with that. When I pass
>> --ssl-cert=server.crt, it fails with:
>>
>> [[[
>> Error validating server certificate for 'https://localhost:443':
>> - The certificate is not issued by a trusted authority. Use the
>> fingerprint to validate the certificate manually!
>> Certificate information:
>> - Hostname: localhost
>> - Valid: from Aug 13 00:26:09 2012 GMT until Aug 7 00:26:09 2032 GMT
>> - Issuer: (null), Test, (null), Test, BE ((null))
>> - Fingerprint: C2:50:D1:2C:03:32:26:8B:04:97:16:4A:F0:BB:E5:27:1A:A8:46:40
>> (R)eject or accept (t)emporarily?
>> ]]]
>
> I get the same on Linux. I believe it worked when I wrote it.

My mistake. In my case the certificate embedded in davautocheck.sh has
expired:

W: Error validating server certificate for 'https://localhost:13864':
W: - The certificate is not issued by a trusted authority. Use the
W: fingerprint to validate the certificate manually!
W: - The certificate has expired.

If I update the script to use an in-date certificate the tests PASS over
SSL.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-08-13 15:27:56 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.