Skip to main content
Solved

WARNING: can't open config file: /rsusr/rocket/ssl/openssl.cnf

  • December 9, 2020
  • 2 replies
  • 0 views

Frank Swarbrick
I get this message when using openssl.  We did not install openssl in /rsusr/rocket, but instead used a different path.  Shouldn't openssl base the location of the openssl.cnf file on the location of the openssl binary?  Should we just "bite the bullet" and install it (or set a symbolic link from) /rsusr/rocket?

Best answer by Alexander Klochkov

I get this message when using openssl.  We did not install openssl in /rsusr/rocket, but instead used a different path.  Shouldn't openssl base the location of the openssl.cnf file on the location of the openssl binary?  Should we just "bite the bullet" and install it (or set a symbolic link from) /rsusr/rocket?
Hi Frank,

You can just set the OPENSSL_CONF environment variable to your own location:
export OPENSSL_CONF=/your/openssl/location/ssl/openssl.cnf

Thanks,
Alexander

2 replies

Alexander Klochkov
Forum|alt.badge.img+1
I get this message when using openssl.  We did not install openssl in /rsusr/rocket, but instead used a different path.  Shouldn't openssl base the location of the openssl.cnf file on the location of the openssl binary?  Should we just "bite the bullet" and install it (or set a symbolic link from) /rsusr/rocket?
Hi Frank,

You can just set the OPENSSL_CONF environment variable to your own location:
export OPENSSL_CONF=/your/openssl/location/ssl/openssl.cnf

Thanks,
Alexander

Frank Swarbrick
  • Author
  • Participating Frequently
  • 9 replies
  • December 10, 2020
I get this message when using openssl.  We did not install openssl in /rsusr/rocket, but instead used a different path.  Shouldn't openssl base the location of the openssl.cnf file on the location of the openssl binary?  Should we just "bite the bullet" and install it (or set a symbolic link from) /rsusr/rocket?
@Alexander Klochkov, thank you.  That worked.​