[Bug 396818] Re: openssl s_client behaves strangely without CAPath

2023-05-11 Thread Adrien Nader
I'm not seeing that behaviour on a 23.04 system and I expect it to be the same since 22.04 at least. As such I'm going to mark this as Fix Released. ** Changed in: openssl (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu

[Bug 396818] Re: openssl s_client behaves strangely without CAPath

2014-04-20 Thread HÃ¥kon A . Hjortland
From openssl 1.0.1-4ubuntu5.12 (I hope I traced the chain of functions correctly): apps/s_client.c: if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) ||

[Bug 396818] Re: openssl s_client behaves strangely without CAPath

2013-11-12 Thread pdf
Just blew two hours trying to work out why my certs were broken. They weren't, but OpenSSL on Debian/Ubuntu is extremely stupid. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/396818 Title:

[Bug 396818] Re: openssl s_client behaves strangely without CAPath

2013-11-12 Thread pdf
What appears to be happening is that when CApath is set to anything, it will actually fall back to '${OPENSSLDIR}/certs' and succeed, if the required cert hashes are not found at the CApath specified on the CLI. But by default, only the CAfile codepath is activated, and the default CAfile is set

[Bug 396818] Re: openssl s_client behaves strangely without CAPath

2012-03-22 Thread Robert Clark
openssl s_client is typically used for testing / verify certificates - as it states in the man pages, this should only be used for testing. There's no use case that I can see for using s_client without at least one CA certificate. The default behaviour of openssl in fedora is to use the system

[Bug 396818] Re: openssl s_client behaves strangely without CAPath

2009-11-15 Thread Sebastian
I have a slightly different behaviour on karmic: otaeg...@otaeguis-home:~$ echo | strace -f -s 1024 -e trace=file openssl s_client -connect www.google.com:443 -CApath /dev/null 21 | egrep '^open|return code' ... open(/usr/lib/ssl/cert.pem, O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or