Skip to main content
Frank Swarbrick
Participating Frequently
Dec 9, 2020 3:26 PM UTC
Solved

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

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
    Rocketeer
    Dec 10, 2020 2:38 AM UTC
    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
    Rocketeer
    Dec 10, 2020 2:38 AM UTC
    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
    Participating Frequently
    Dec 10, 2020 1:31 PM UTC
    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.​