Score:0

Missing root CA certificates in Ubuntu

ma flag

I have Ubuntu 20.04 installed on my remote Google VM. It is missing some critical root CA certificates which is causing verification error on curl, wget and apt-get. How do I install the missing certificates?

Missing certificates details - https://www.diffchecker.com/EmoV1UFQ enter image description here

The certificates on the right (in green) are missing in my Ubuntu server. I used the following command to get the list of ca certificates.

awk -v cmd='openssl x509 -noout -subject' '
    /BEGIN/{close(cmd)};{print | cmd}' < /etc/ssl/certs/ca-certificates.crt

The other server is running Debian Linux which I used to compare the certificates list. I tried reinstalling the certificates on Ubuntu using the following command, however, it just reinstalled the same certificates again. Missing certificates still remain missing.

sudo apt-get install --reinstall ca-certificates 

sudo apt-get -f install

sudo dpkg --purge --force-depends ca-certificates
sudo apt-get -f install
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.