Open EslamElHusseiny opened 3 years ago
Thanks for reporting this, @EslamElHusseiny.
According to your description, it appears that you are also missing --client-cert-key-path
.
I will change the error message to make it more clear.
Is this still an outstanding bug?
The cert file exists, does not require a key and is in PEM format.
But I am getting an error that the file does not exist.
Describe the bug Using
--client-cert-path
option injfrog rt rc
command returns the following error[Error] Failed loading client certificate: open : no such file or directory
To Reproduce run the following commandJFROG_CLI_LOG_LEVEL=DEBUG jfrog rt rc --server-id <server-id> --client-cert-path server.pem --url <Artifactory URL> template.json
Expected behavior The requested repo to be created and
jfrog
CLI to connect to the Artifactory instance using the certificate provided.Versions
Additional context I had to use
jfrog rt curl --cacert server.pem ...
instead as a workaround and my curl command got executed successfully with a few warnings