Philip Martin <philip.mar...@wandisco.com> writes:

> Johan Corveleyn <jcor...@gmail.com> writes:
>
>> <philip.mar...@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

Reply via email to