KNOWLEDGE BASE

Error "system library:fopen:Unknown error" Using OpenSSL to Generate CSR File


Published: 18 Apr 2014
Last Modified Date: 21 Nov 2016

Issue

When you use Open SSL to generate a certificate signing request (CSR) file, an error similar to the following might occur:
 
<number>:error:0200107B:system library:fopen:Unknown error:.\crypto\bio\bss_file.c:169:fopen('"C:\Program Files\Tableau\Tableau Server\<version>\apache\conf\openssl.cnf"','rb')
<number>:error:2006D002:BIO routines:BIO_new_file:system lib:\.crypto\bio\bss_file.c:174:
<number>:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\conf\conf_def.c:199:

Environment

  • Tableau Server
  • OpenSSL 1.0.1g

Resolution

  1. Make sure that the openssl.cnf file exists in the destination folder and is not renamed. 
  2. If the file exists, run the following command before you generate the CSR file. Make sure you are not using quotation marks in the command.
set OPENSSL_CONF=c:\Program Files\Tableau\Tableau Server\<version>\apache\conf\openssl.cnf
Or:
set OPENSSL_CONF=c:\Program Files (x86)\Tableau\Tableau Server\<version>\apache\conf\openssl.cnf

Cause

OpenSSL cannot find the openssl.cnf file.

 

Did this article resolve the issue?