Wanted to check if someone has came across this error and troubleshooted it.
When I am trying to initialize Conjur CLI, I am getting the error in the screenshot.
“Failed to execute command. Reason: SSL Error. Make sure Conjur server’s root certificate is trusted in this machine. If this problem continues, visit docs for more help”
I also checked that the Conjur server’s root server is trusted on this machine, as shown in the screenshot too.
Please assist if there is any idea to troubleshoot it.
Firstly, we’d recommend you try to upgrade to version 8.x of the CLI. You can find the latest releases here.
In the meantime, this may be due to an issue in the v7.x CLI with handling of certificates not in the root/system trust store. Can you try running ./conjur init --self-signed?
After upgrading to v8.x of the CLI, the error is gone.
Thanks a lot
Another question:
I have enabled ‘authn-jwt/dev’ authenticator, but in the info end point, it’s still not showing up as enabled, just configured. I have tried to figure out this, but as of now no luck. Any suggestions?
Regarding the JWT authenticator, please make sure you’ve followed all the steps in the documentation for configuring the authenticator. In particular make sure you’ve completed Step 2 - Populate the policy variables.