-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build-collect-env
reports 'x509: cannot validate certificate' when insecure-tls option is set
#1592
Comments
eyalbe4 Is there anyone that I could tag to take a look at this issue, please? |
I'm getting the same error inconsistently when running |
We're having the same issue with jfrog-cli as well. Could you please take a look at this? |
Any update on this, please? |
Hey , Seems to have the same issue here. Someone found a workaroud ? |
Hi @jainvikas8 @Stolr @ememarar @MKaciuba , Can you please provide more info regarding the issue? Does it still happen on latest CLI versions? |
One of the requirements for using a private CA certificate with Artifactory is that its Common Name (or Subject Name) When validating a certificate, a browser will check the SAN field first. If it finds the name it's looking for in the SAN, then it will use that entry and perform additional validation checks, e.g. chain of trust validity, etc. It used to be, many years ago, that if the value is not found in the SAN field, then and only then will validation attempt to find the name in the CN field. However, this has been deprecated for quite some time and most modern browsers, utilities (e.g. In short, you need a certificate that includes the server's IP address in the |
jfrog rt build-collect-env reports the following
To Reproduce
The output is successful
this fails to collect all the info for publishing
Unable to publish it properly and artifacts can't be downloaded.
Expected behavior
Is to collect-env without any warnings
Versions
Would it be possible to have a workaround or option of
--insecure-tls=true
forjfrog rt build-collect-env
?The text was updated successfully, but these errors were encountered: