Jenkins installation on Redhat Linux failed on wget


I am trying to install Jenkins on Redhat Linux 8.8 but I am unable to add jenkins.repo file. I am getting following error while executing wget command. Please can you guys help?

[root@leyvp004rh-eu-paccar-com ~]# wget --no-check-certificate -O /etc/yum.repos.d/jenkins.repo
–2023-08-18 12:46:05--
Resolving pkg. jenkins. io …,,, …
Connecting to pkg. jenkins. io ||:443… connected.
GnuTLS: Error in the pull function.
Unable to establish SSL connection.

Is there a particular reason why you want to skip the certification validation?

If you follow the installation instructions for Red Hat Enterprise Linux, you shouldn’t need to skip validation.