“OPENSSL_CONF” file initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

 

  In my project I want to delay “OPENSSL_CONF” file initialization after sshd got started. So I tried below way, hoping it is correct !

 

  if (CONF_modules_load_file_ex(OSSL_LIB_CTX_get0_global_default(), "/etc/openssl.cnf", "openssl_conf ", 0 ) <= 0) {

                             fprintf(stderr, "FATAL: error loading configuration file\n");

                             ERR_print_errors_fp(stderr);

                             exit(1);

}

 

Here the response output is success. However afterwards, the configured behavior is not expected way. For.e.g I have a session in CNF file as below for cipher operation

 

[evp_properties]

default_properties = "?provider=my_provider"

 

This is not meeting, I believe the configuration is not completed, not sure !

 

Could someone tell me what is missing here or how to initiate the CNF file programmatically for all the applications ?

 

Thank you,

Hareesh


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux