Saturday, October 9, 2021

Certificate verification failed: The certificate is NOT trusted | Jenkins installation Error Fix | Jenkins Installation on Ubuntu 18.0.4 | Jenkins Installation on Ubuntu 20.0.4

If you try to install Jenkins on Ubuntu 18.0.4/20.0.4 instance, you may experience this problem.

Running sudo apt-get update on my AWS EC2 Ubuntu 18.04.01 LTS instance fails because Certificate verification failed: The certificate is NOT trusted.

Err:6 https://pkg.jenkins.io/debian-stable binary/ Release


Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 199.232.66.133 443]

Fix for the above error

You need to install certificates to overcome this error:

sudo apt install ca-certificates

sudo apt-get update

Now try installing Jenkins

sudo apt install jenkins -y



2 comments:

  1. Understanding common DevOps troubleshooting techniques like this is valuable for anyone working with automation and cloud environments. Exploring Cloud Computing Projects can provide deeper practical experience in infrastructure management, CI/CD pipelines, server provisioning, and deployment automation using modern cloud technologies.

    ReplyDelete
  2. Since certificate validation plays a vital role in secure software installation and repository authentication, it is equally important to learn secure cloud deployment practices. Working on Cloud Security Projects helps build knowledge of certificate management, secure communication, identity verification, and protecting cloud-based infrastructure from security risks.

    ReplyDelete

How to Provision Ubuntu 24.0.4 EC2 Instance | How to create EC2 instance in AWS console | Launch Ubuntu 24.0.4 instance in AWS

How to create new EC2 instance in AWS console using new UI experience? What is EC2 instance?  It is virtual server provided by AWS. We will ...