Unable to update system

Resolving GLib Error: Unacceptable TLS Certificate Issue in System Update with Swupd

"GLib Error: Unacceptable TLS certificate"

If you're facing this issue while trying to update your system using swupd, fear not! There's a fix for this, and it's simpler than you might think.

When this happens, the mismatched certificates cause the update process to halt, leaving users puzzled about how to proceed.

The solution lies in rectifying the SSL certificate mismatch by restoring the proper configuration. Here's a step-by-step guide to resolve the GLib TLS certificate error:

Identifying the Problem

When encountering the "GLib Error: Unacceptable TLS certificate" message during a swupd update attempt, it indicates a conflict in SSL certificates

Update your CA certifiactes

  1. Execute any of below command as per your system state to update CA certificates

sudo update-ca-trust


sudo update-ca-certificates

If you are on older version then

Solution Steps:

Step 1: Accessing the SSL Directory

  1. Open a terminal window or access your command line interface.

Step 2: Removing the Faulty Certificates

  1. Execute the command to remove the /etc/ssl/certs directory:

sudo rm -rf /etc/ssl/certs

Step 3: Restoring Proper SSL Certificates

  1. Copy the SSL certificates from the default directory to the /etc/ssl/certs directory:

sudo cp -r /usr/etc/ssl/certs /etc/ssl/certs

Step 4: Verifying Changes

  1. Verify the changes by attempting the system update through Swupd again:

sudo swupd update


- Permissions: Ensure you have appropriate permissions or use the `sudo` command to execute these operations.

By following these steps, you'll likely resolve the "GLib Error: Unacceptable TLS certificate" issue that's hindering your system update process with swupd.

Remember, system updates are critical for security enhancements, bug fixes, and improved performance. Addressing errors promptly ensures your system remains robust and up-to-date.


Encountering errors during system updates can be frustrating, but with the right steps, you can overcome them swiftly. The "GLib Error: Unacceptable TLS certificate" is a common obstacle that can be easily resolved by rectifying SSL certificate discrepancies.

Keeping your system updated not only enhances its performance but also fortifies its security. Don't let errors deter you from maintaining a healthy and secure system. Implement the provided fix and enjoy a seamless update experience with Swupd.

Further Assistance:

If, after applying these steps, you're still encountering the "GLib Error: Unacceptable TLS certificate" or similar issues during system updates, consider the following options:

  • Community Support: Reach out to the user community or forums dedicated to your system's distribution. Often, fellow users or experts can provide personalized guidance or alternative solutions to troubleshoot these issues effectively.

Happy updating!

Photo by Cookie the Pom on Unsplash