logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

OSSL_STORE-winstore - OpenSSL built in OSSL_STORE for Windows

Description

The OSSL_STORE implementation for Windows provides access to Windows' system "ROOT" certificate store through URIs, using the URI scheme "org.openssl.winstore". SupportedURIs There is only one supported URI: org.openssl.winstore: No authority (host, etc), no path, no query, no fragment. SupportedOSSL_STORE_SEARCHoperationsOSSL_STORE_SEARCH_by_name(3) As a matter of fact, this must be used. It is not possible to enumerate all available certificates in the store. Windowscertificatestorefeatures Apart from diverse constraints present in the certificates themselves, the Windows certificate store also has the ability to associate additional constraining properties alongside a certificate in the store. This includes both documented and undocumented capabilities: • The documented capability to override EKU • The undocumented capability to add name constraints • The undocumented capability to override the certificate expiry date SuchconstraintsarenotcheckedbythisOSSL_STOREimplementation,andtherebynothonoured. However, once extracted with OSSL_STORE_load(3), certificates that have constraints in their X.509 extensions will go through the usual constraint checks when used by OpenSSL, and are thereby honoured.

History

The winstore ("org.openssl.winstore") implementation was added in OpenSSL 3.2.0.

Name

OSSL_STORE-winstore - OpenSSL built in OSSL_STORE for Windows

Notes

OpenSSL uses OSSL_DECODER(3) implementations under the hood. To influence what OSSL_DECODER(3) implementations are used, it's advisable to use OSSL_STORE_open_ex(3) and set the propq argument.

See Also

ossl_store(7), OSSL_STORE_open_ex(3), OSSL_STORE_SEARCH(3)

See Also