I am using ubuntu in a wsl2 from my windows pc and with every download I want to make I get the error: x509 certificate signed by unknown authority.
Example: For installing kubernetes I follow the instructions:
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
leading to: SSL certificate problem: unable to get local issuer certificate
Does anybody know how to solve this? Thanks in advance!