I tried to do a jfrog npm install with self-signed certificate but I have an SSL error x509: certificate signed by unknown authority from a gitlab pipeline.
Current behavior
I initialize the NPM_CONFIG_CAFILE and copy the certificates under the .jfrog/security/certs/.
Then when I execute the command ./jfrog npm install.
I so have the behavior: [Warn] (Attempt 1) - Failure occurred while sending GET request to https://url/: Get "https://url/": x509: certificate signed by unknown authority
Reproduction steps
No response
Expected behavior
I would expect the initialization of npm variable and the copy of certificate in jfrog folder enough to be working.
Current bypass
I specify the certificates in the variable Golang: SSL_CERT_FILE for jfrog CLI.
It currently works but I would like to know if there is another more standard way ?
Describe the bug
I tried to do a jfrog npm install with self-signed certificate but I have an SSL error x509: certificate signed by unknown authority from a gitlab pipeline.
Current behavior
I initialize the
NPM_CONFIG_CAFILE
and copy the certificates under the .jfrog/security/certs/. Then when I execute the command./jfrog npm install
. I so have the behavior:[Warn] (Attempt 1) - Failure occurred while sending GET request to https://url/: Get "https://url/": x509: certificate signed by unknown authority
Reproduction steps
No response
Expected behavior
I would expect the initialization of npm variable and the copy of certificate in jfrog folder enough to be working.
Current bypass I specify the certificates in the variable Golang:
SSL_CERT_FILE
for jfrog CLI. It currently works but I would like to know if there is another more standard way ?JFrog CLI version
2.14.0
Operating system type and version
linux/arm/v7
JFrog Artifactory version
No response
JFrog Xray version
No response