Re: MSVC SSL test failure

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: MSVC SSL test failure
Date: 2021-12-05 22:44:32
Message-ID: bef66e76-a4c0-69b3-828d-51c8f58f485c@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 12/5/21 15:14, Daniel Gustafsson wrote:
>> On 5 Dec 2021, at 18:03, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>> I am getting this test failure 001_ssltests.pl on my test MSVC system
>> when SSL tests are enabled:
>>
>> not ok 110 - certificate authorization fails with revoked client cert with server-side CRL directory: matches
>>
>> # Failed test 'certificate authorization fails with revoked client cert with server-side CRL directory: matches'
>> # at t/001_ssltests.pl line 618.
>> # 'psql: error: connection to server at "127.0.0.1", port 59491 failed: server closed the connection unexpectedly
>> # This probably means the server terminated abnormally
>> # before or while processing the request.
>> # server closed the connection unexpectedly
>> # This probably means the server terminated abnormally
>> # before or while processing the request.
>> # server closed the connection unexpectedly
>> # This probably means the server terminated abnormally
>> # before or while processing the request.'
>> # doesn't match '(?^:SSL error: sslv3 alert certificate revoked)'
>>
>> There's nothing terribly suspicious in the server log, so I'm not quite
>> sure what's going on here.
> Trying out HEAD as of 20 minutes ago in Andres' MSVC setup on Cirrus CI I'm
> unable to replicate this. Did you remake the keys/certs or are they the files
> from the repo? Which version of OpenSSL is this using?
>

It's WS2019 Build 1809, VS2019, openssl 1.1.1 (via chocolatey).

Can you show me the cirrus.yml file you're using to test with? A URL ref
to the results would also help.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-12-05 23:00:08 Re: enable certain TAP tests for MSVC builds
Previous Message Chapman Flack 2021-12-05 21:40:20 Re: The "char" type versus non-ASCII characters