On Sat, Sep 05, 2009, Walid Nasri wrote:

> Hello
> 
> I installed OpenSSL on Windows
> 
> I have Apache 2.2 WebServer
> 
> I need to generate a certificate, in order to purchase certificate license
> from CA
> 
> when I use the openssl generate command:
> 
> openssl genrsa -out mykey.key 1024
> 
> I also tried:
> 
> openssl genrsa -config openssl.cnf -out mykey.key 1024
> 
> but I keep getting this error:
> 
> WARNING: can't open config file: /usr/local/ssl/openssl.cnf
> Loading 'screen' into random state - done
> Generating RSA private key, 1024 bit long modulus
> ......++++++
> ..........++++++
> e is 65537 (0x10001)
> 
> although I have Windows, the Openssl seems to see linux
> (/usr/local/ssl/openssl.cnf)
> 
> I tried many ways in order to set the path of the conf file, but I failed
> 
> any suggestions please??
> 

The default configuration file location is set at compile time. There isn't a
standard place for it on Windows. You can specify an alternative location with
the -config option on the command line (if the command includes such an
option) or the OPENSSL_CONF environment variable.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to