Websites use TLS certificates for authentication and ensuring secure data transfer. Linux system refers to many different websites to download & manage packages. But sometimes you may get ‘Unacceptable TLS certificate’ error in Linux. In this article, we will learn how to fix unacceptable certificate error in Linux.
How to Fix Unacceptable TLS Certificate Error in Linux
There is one solution fixes it all for this problem. We will list a couple of commonly used approaches.
1. Reinstall CA Certificates
One of the simplest solutions is to just reinstall the TLS certificates so that you are using the latest proper ones. Open terminal and run the following command for this purpose.
$ sudo apt install --reinstall ca-certificates
The above command will reinstall trusted CA certificates, in case there is an issue with the list.
2. Add Trusted Certificates in Linux Distro
If you are using your organization’s VPN to access remote content, you may need to add the certificate to list of trusted CAs in your Linux distro.
First, login as administrator and go to /usr/local/share/ca-certificates.
Create a folder for your organization and add the certificate (.crt) file in it. Once you have added the certificate, run the following command to update CA certificates.
$ sudo update-ca-certificates
In this article, we have learnt how to fix unacceptable TLS certificate.
Also read:
How to Reconfigure Installed Package in Ubuntu/Debian Linux
Return False vs PreventDefault in JavaScript
How to Get Unique JS Array Values
How to Disconnect User from SSH Connection
How to Get HDD Temperature in Linux
Related posts:
How to Manage Systemd Services on Remote Linux Systems
How to Change Default Home Directory of User in Linux
How to Increase SSH Connection Limit in Linux
How to Stop Linux Package Update in Ubuntu
How to Unban IP With Fail2ban
How to Change Root Password in CentOS, RHEL, Fedora Linux
How to Check Supported TLS/SSL Version in Linux
How to Increase Inode Limit in Linux
Sreeram has more than 10 years of experience in web development, Python, Linux, SQL and database programming.