-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
apt-get: server certificate verification failed #1082
Comments
What's output of:
It should be something like this:
|
It works in clean jessie chroot. If you can reproduce the issue in clean jessie chroot, feel free to reopen the bug. Otherwise, it's your local configuration problem. |
Somehow my machine is not able to get the right certificate (the one it gets is expired), not sure if there is some cache somewhere on the/my network:
|
It’s pretty obvious (to me), where the problem is. Do you waNt hintS? |
Think I got it. My local DNS cache is serving me a stale content. For reference, I ran Thanks! |
I just want to thank you for solution.
You really save my day. I have been couple days seeking why my Debian 9 server won't update. Iztok |
Thanks! Changing |
In my case, the problem was an old cert files without the recent root certificates used by let's encrypt. To fix it, I did the following:
Which tell apt to ignore invalid certs for packages.sury.org |
I have fixed it this way #1729 (comment) |
I added this to the FAQ last night ( @akaPipo suggested way ). Seems a few people are getting caught out with the expired X3 cert still in their certificate store. |
Describe the bug
Hi,
I encounter an issue similar to #797, but simply re-installing the ca-certificates is not sufficient:
I already tried the following:
Removed the
php.gpg
key and thephp.list
, re-applied the commands from the https://packages.sury.org/php/README.txt (but had to use the-k
option of curl).wget -q https://packages.sury.org/php/apt.gpg -O - | sudo apt-key add -
https://www.brightbox.com/blog/2014/03/04/add-cacert-ubuntu-debian/
update-ca-certificates -f
But the problem is still the same. curl and wget say that the certificate is expired.
Am I missing something?
To Reproduce
apt-get update
Expected behavior
Successfully update package repositories
Distribution
Package(s)
The text was updated successfully, but these errors were encountered: