title: OpenSSL error when trying to run openssl s_server utility
body: <p>I am Using OpenSSL "Win32OpenSSL_Light-1_0_1j" on Windows XP Machine. I have created the following keys and certificates</p>
  
  <ol>
  <li>RootCA-cert.pem - Root certificate</li>
  <li>RootCA-PKey.pem - Root CA private key</li>
  <li>servertest.key - private key for server certificate</li>
  <li>server-certificate.crt  - server certificate</li>
  </ol>
  
  <p>The root CA, I have stored the client (target board).</p>
  
  <p>After this I am giving a command from the command prompt to connect to client (target broad).</p>
  
  <p>But I am getting error.</p>
  
  <pre><code>s_server -accept 443 -cert server-certificate.crt -CAfile RootCA-cert.crt -key servertest.key
  
  Enter pass phrase for servertest.key:
  
  Loading 'screen' into random state - done
  
  15424:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\bss_file.c:169:fopen('RootCA-cert.crt','r')
  
  15424:error:2006D080:BIO routines:BIO_new_file:no such file:.\crypto\bio\bss_file.c:172:
  
  15424:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:.\crypto\x509\by_file.c:274:
  
  Using default temp DH parameters
  Using default temp ECDH parameters
  
  ACCEPT
  </code></pre>
  
  <p>I am using the default .cfg file when the OpenSSL is installed. I have the check the path set for the <code>openssl.cfg</code> file in the environmental path setting. It is <code>OPENSSL_SSL = C:\OpenSSLWin32\bin\openssl.cfg</code> which gets set when OpenSSL gets installed.</p>
  
  <p>The extension for the configuration file is <strong>.cfg and not **cnf</strong> or <strong>conf</strong>.</p>
  
  <p>Kindly help me on this.</p>