Issue with my ca-certificates.crt

一个人想着一个人 提交于 2019-11-30 19:06:34

Another cause might be your server time: check whether your server time is correct by running date. If it isn't, run sudo ntpdate -s ntp.ubuntu.com. An incorrect server time can invalidate ssl certificates

In my case, I restored a server snapshot. As a result, the server time was still set to snapshot-time. A reboot would probably solve this issue as well, as ubuntu tries to update the time on boot.

All of my ca certificates were missing from /usr/share/ca-certificates/*
re-installing the package put them back

If they are missing from that location, doing a force reloading will show the 0 of 0:

update-ca-certificates -f

Clearing symlinks in /etc/ssl/certs...done.  
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.

apt-get install --reinstall ca-certificates

Preparing to unpack .../ca-certificates_20141019ubuntu0.14.10.1_all.deb ...
Unpacking ca-certificates (20141019ubuntu0.14.10.1) over (20141019ubuntu0.14.10.1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Setting up ca-certificates (20141019ubuntu0.14.10.1) ...
Processing triggers for ca-certificates (20141019ubuntu0.14.10.1) ...
Updating certificates in /etc/ssl/certs... WARNING: Skipping duplicate certificate Go_Daddy_Class_2_CA.pem
WARNING: Skipping duplicate certificate Go_Daddy_Class_2_CA.pem
173 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!