Package: | ca-certificates |
---|---|
Version: | 2+git20170807.10b2785-lp151.7.1 |
Description
I noticed that running update-ca-certificates
will not add a certificate to the openssl store if that certificate belongs to a different category than “authority” ( only certificates from the trust list --filter=ca-anchors
list will be updated).
I would think that it should also contain certificates belonging to an “other-entry” category, like certificates with a client-auth
purpose for example.
Even package’s README (/usr/share/doc/packages/ca-certificates/README
) states, that the openssl store contains CA certificates of all purposes.
Details
One of the executed scripts executed on update-ca-certificates
contains a trust extract command that filters only “ca-anchors” which will not contain certificates with a “client-auth” purpose.
https://github.com/openSUSE/ca-certificates/blob/master/openssl.run
Question
Is that the correct behavior? If yes - how should I include “client-auth” certificates to the openssl store (so that for example I could run curl
without specifing --cacert cert.pem
)?