OpenSSL config not loading

Manish Patidar <[email protected]> Tue, 27 Jan 2026 14:29:57 +0530
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <CAN6ajHLs9hC-J6k-0_A7L2xBmDjGfpUJwM6PZUpn2S7K3OC0NQ@mail.gmail.com>
Hi

We are using OpenSSL 3.5, and our application is linked with libcrypto and
libssl. We have updated the config file so that only the base and FIPS
providers are active. However, when our application fetches the algorithm,
it is retrieved from the default provider instead of the FIPS provider.

When we list providers from the OpenSSL command, it only shows the base and
FIPS providers.

Why is openssl.cnf not reflecting in our application?
Does the application need to specifically load the config file?
How do other third parties that depend on OpenSSL load this config?
Should the application call OPENSSL_init_crypto with
OPENSSL_INIT_LOAD_CONFIG?

Regards
Manish

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/CAN6ajHLs9hC-J6k-0_A7L2xBmDjGfpUJwM6PZUpn2S7K3OC0NQ%40mail.gmail.com.