-
Notifications
You must be signed in to change notification settings - Fork 36
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
Unable to verify the first certificate #19
Comments
Thanks for reporting this issue, @cschyma! We are looking into it. |
Yes it does. But Root CA certificates are imported to the Windows trust store. Interestingly it does work running VS Code with Ubuntu. |
Could be related to this: https://arstechnica.com/information-technology/2020/01/patch-windows-10-and-server-now-because-certificate-validation-is-broken Can you please try to install the latest Windows updates? |
Thanks, but https://support.microsoft.com/de-de/help/4534293/windows-10-update-kb4534293 has already been installed. |
Thanks for sharing this information! We can, however, consider to support bypassing SSL certificates validation. Please let me know if you think it's necessary. |
Thanks, I do not need bypassing SSL certificate validation. Please give the Axios client update a try. |
@cschyma, Feel free to upgrade. We'll appreciate your feedback for that! |
Unfortunately I still get the same error message with 1.1.2. Is there a way to get more details about this error? What exactly is the first certificate? What cannot be verified? |
Thanks for your feedback. I wonder if win-ca may help. According to their README: Special extension for VS Code was created to import win-ca in context of VS Code's Extension Host.
Since all VS Code extensions share the same process, root certificates imported by one of them are immediately available to others. This can allow VS Code extensions to connect to (properly configured) intranet sites from Windows machines. Can you please try this out? |
Still no success. We are not using self-signed certificates for the Artifactory server. Also I tried it with only the JFrog extension installed. |
JFrog VS-Code extension uses direct APIs to Xray. Artifactory does not stand between them. You probably did it, but I'm just making sure - Did you reload VS-Code after installing |
Yes, I did reload it. Xray is using a self-signed certificate, meaning it is signed by our local CA. CA certs are installed at the Windows cert store. |
Two more things that could be of interest:
|
I did solve my issue by fixing the certificate file I am using at the Xray server. It was missing the intermediate CA certificates. Check https://medium.com/@superseb/get-your-certificate-chain-right-4b117a9c0fce for more background. Interestingly this VSCode Extension was the first to complain about it. For Artifactory it seems to be alright. |
Thanks for this information, @cschyma. So glad to hear that this issue is resolved! |
I am getting the following error message right after entering the basic configuration (url, user, pwd). There is no output at the output / JFrog console.
VSCode 1.42.1
JFrog Visual Studio Code Extension 1.1.1
Windows 10 1803
The text was updated successfully, but these errors were encountered: