Sublime Forum

Certificate verification failed

#1

with following the instructions from https://www.sublimetext.com/docs/linux_repositories.html I get below error with apt-get update

Err:6 https://download.sublimetext.com apt/stable/ Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 104.236.0.104 443]

2 Likes

Certificate verification failed ..but on Debian
#2

See https://askubuntu.com/questions/1095266/apt-get-update-failed-because-certificate-verification-failed-because-handshake

1 Like

#3

So, how to fix? Ia have read the link you posted, but didn’t find a solution for Sublime.

0 Likes

#4

Did you follow the solution from that link?

0 Likes

#5

There are 11 answers but no accepted solution.
Anyway, I have fixed following the first answer:

sudo apt install ca-certificates
4 Likes

#6

The following fixed it for me:

sudo apt-get upgrade -y

Thanks for the help, everyone.

1 Like

#7

thanks.

sudo apt install ca-certificates

fixed my issue on ubuntu 20.04.

now the update worked

2 Likes

#8

This worked for me too.

Ran install again and success…

Thanks! :+1: :grinning:

0 Likes

#9

where to write this code. can anyone help me?

0 Likes

#10

It’s just a command you run in the Linux terminal.

0 Likes

#11

Thanks. But I have windows is there any option for it?

0 Likes

#12

If you’re using Windows, you need not be concerned about whether or not the certificates used for the Linux packages properly validate or not.

0 Likes

#13

I have tried installing linux terminal but before that I have to install packages.
As I tried to install packages there is an error showing (in console) that :"Package Control: Error downloading channel. HTTP exception InvalidCertificateException (Host packagecontrol.io returned an invalid certificate ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:548))) downloading https://packagecontrol.io/channel_v3.json."
How can I solve this problem?

0 Likes