Usually at work, I don't get any certificate related errors. However, when I try to execute "sudo apt update", "git clone", "npm install", etc. at home, an error occurs. I know it is probably something to do with the proxy, but I have not been able to solve the problem at all. I want to solve this problem for sure. Please help me.
Ign:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:1 https://download.docker.com/linux/ubuntu focal InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: ]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/focal/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: ]
W: Some index files failed to download. They have been ignored, or old ones used instead.
I tried the following items, but the error was not cured. Go to /usr/local/share/ca-certificates/. Create a new folder." sudo mkdir school" Copy the .crt file to the school folder. Make sure permissions are OK (755 for folders, 644 for files). Run "sudo update-ca-certificates".