You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm running Archlinux on wsl2 and now when i try to upgrade all packages it showing the error
" failed to verify certificate: x509: certificate signed by unknown authority", which i think is related to the company is using self signed certificate.
i even used the variable "--skipinteg", but verification alway happen,
do you have any solution and thank you
Reproduction Steps
Expected behavior
Output
The text was updated successfully, but these errors were encountered:
add it to your system's recognized CAs (command valid for current Archlinux) :
trust anchor YOUR_REPO.crt
And there shouldn't be any issue regarding certificate validation.
If the "self-signed" component is not the cert itself but one of the parent certificates, same process but changing the s_client to s_client -showcerts to get the full chain in the first command, including the problematic certificate.
This doesn't address the lack of option issue, but should solve the underlying error (and suggestion should be made to provide the offending cert / CA inside the company itself, to actually use "proper" TLS when distributing packages that can run privileged code on your machine by design).
Affected Version
yay v12.3.5 - libalpm v14.0.0
Describe the bug
i'm running Archlinux on wsl2 and now when i try to upgrade all packages it showing the error
" failed to verify certificate: x509: certificate signed by unknown authority", which i think is related to the company is using self signed certificate.
i even used the variable "--skipinteg", but verification alway happen,
do you have any solution and thank you
Reproduction Steps
Expected behavior
Output
The text was updated successfully, but these errors were encountered: