]> code.ossystems Code Review - openembedded-core.git/commit
ca-certificates: Fix openssl runtime cert dependencies
authorKhem Raj <raj.khem@gmail.com>
Sun, 18 Apr 2021 22:53:10 +0000 (15:53 -0700)
committerSteve Sakoman <steve@sakoman.com>
Wed, 21 Apr 2021 13:52:04 +0000 (03:52 -1000)
commitba2774dc6ba119094861c0723858e4b47e9b7eed
tree4614d53db872d838530c11e8cda733af2b3cdaad
parent982236ed40f7e1fb912d52155495286fa1ca4757
ca-certificates: Fix openssl runtime cert dependencies

With commit dc778c70449ee5401b5a24ad18b22b88338c47c5, dependency was
moved to openssl-bin which in itself was a fine change, but dropping
dependency on openssl too should have been kept along, dropping this
meant that openssl binary wont be able to validate secure connections as
the CApath files wont be installed, which infact are required for
openssl bins to work, following call e.g. fails

$ openssl s_client -connect google.com:443

....
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 256 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 20 (unable to get local issuer certificate)
....

The local issuer certs are not found in default location
/usr/lib/ssh-1.1/certs, this dir and its content is installed by openssl package
therefore re-add the dependency on openssl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eaf377315efc73d6ffe361372a873918b3bb3bf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/ca-certificates/ca-certificates_20210119.bb