Oh! I was a little behind on MacPorts updates, and after pulling the latest (taking their openssl from 3.0.8 to 3.1.0) I can duplicate Peter's problem:
# +++ tap check in src/test/ssl +++ t/001_ssltests.pl .. 120/? # Failed test 'sslrootcert=system does not connect with private CA: matches' # at t/001_ssltests.pl line 479. # 'psql: error: connection to server at "127.0.0.1", port 58910 failed: SSL SYSCALL error: Undefined error: 0' # doesn't match '(?^:SSL error: certificate verify failed)' t/001_ssltests.pl .. 196/? # Looks like you failed 1 test of 205. t/001_ssltests.pl .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/205 subtests t/002_scram.pl ..... ok t/003_sslinfo.pl ... ok Test Summary Report ------------------- t/001_ssltests.pl (Wstat: 256 Tests: 205 Failed: 1) Failed test: 121 Non-zero exit status: 1 Files=3, Tests=247, 14 wallclock secs ( 0.02 usr 0.01 sys + 2.04 cusr 1.54 csys = 3.61 CPU) Result: FAIL make: *** [check] Error 1 So whatever this is, it's not strictly Homebrew's issue. regards, tom lane