[openssl-users] 1st time through, only -- "Can't open root/database.attr for reading, No such file or directory" ?

Jeffrey Walton noloader at gmail.com
Sun Jun 4 23:51:29 UTC 2017


> but the process STARTS with an apparently non-fatal error ...
>
>         Using configuration from /home/sec/newCA/openssl.cnf
>         Can't open root/database.attr for reading, No such file or directory
>         140013244086016:error:02001002:system library:fopen::crypto/bio/bss_file.c:74:fopen('root/database.attr','r')
>         140013244086016:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:81:

This usually indicates the OpenSSL conf file cannot be found. Its odd
that "Using configuration from /home/sec/newCA/openssl.cnf" is
reported.

Maybe you can try `OPENSSL_CONF=/home/sec/newCA/openssl.cnf <command>`
to isolate the issue (or maybe rule out its not a conf file problem).

Jeff


More information about the openssl-users mailing list