Python SSL certificate verify error - Solved

Often we get an error in python in the ssl.c file namely:

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed:

The reason is your computer didnt have a valid certificate. There are many options in the internet and none of them worked. Here is the solution: 

Download https://letsencrypt.org/certs/lets-encrypt-r3.pem 

rename file .pem to .cer
double click and install
and then try to run app your SSL issue will resolved. Cheers !!!


Here are the screenshots for the above operations
SSL certificate Error
SSL certificate Error

SSL certificate Error
SSL certificate Error

SSL certificate Error
SSL certificate Error

SSL certificate Error
SSL certificate Error

SSL certificate Error
SSL certificate Error

SSL certificate Error
SSL certificate Error


Comments

  1. thankyou for this. could I get your email kindly? need to discuss implementation of fog nodes on contiki with you. or if you could create a tutorial that'd be great.

    ReplyDelete

Post a Comment

Popular posts from this blog

Installing ns3 in Ubuntu 22.04 | Complete Instructions

How to Create Ubuntu 24.04 Bootable USB Using Rufus [Step-by-Step Guide]

Installation of NS2 in Ubuntu 22.04 | NS2 Tutorial 2