> > Where is the openssl.cnf file expected to be found on Windows?
> > 
> 
> The actual location is now determined by the function
> CONF_get1_default_config_file() and the openssl utility will be modified
> so everything goes through it.
> 
> Currently this follows the same logic for finding openssl.cnf as the
> utilities. This results in the rather silly default of
> /usr/local/ssl/openssl.cnf but it can be overridden with the
> OPENSSL_CONF environment variable. 
> 
> CONF_get1_default_config_file() could be modified to do something more
> sensible under Windows: querying the registry perhaps?

There should certainly be a

  CONF_set_default_config_file(..) 

function to allow applications to set this value.  Unlike on Unix, I
expect that most Windows applications provide their own copy of
OpenSSL and do not share a single copy.  So having a specific location
would be inappropriate.

Environment variables are also of little use on Windows under most
configurations.  My suggestion would be to use the path of the DLL (or
linked executable) as the default location for the config file.




 Jeffrey Altman * Sr.Software Designer      C-Kermit 8.0 available now!!!
 The Kermit Project @ Columbia University   includes Telnet, FTP and HTTP
 http://www.kermit-project.org/             secured with Kerberos, SRP, and 
 [EMAIL PROTECTED]                OpenSSL. Interfaces with OpenSSH
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to