Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to update a system using an HTTPS package mirror located here:

However, during apt-get update, I get the following message:

Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

If you visit the site in your browser, you are warned about the site's certificate, but I trust the site, so it's not an issue for me. I assume I must be able to add this exception somewhere for apt to proceed.

Can you tell me where and how?

share|improve this question
up vote 4 down vote accepted

After reading up on the matter, following a trail about "self-signed certificates" etc., I found a suitable answer in a question on Serverfault:

By adding the following line to my apt.conf, it resolved the matter: "false";

But keep in mind, that "resolved" means, that it might "work" now. Disabling verification is rather a workaround.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.