Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7180493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:21:37+00:00 2026-05-28T17:21:37+00:00

I am writing a short python script for fun to check a few pages

  • 0

I am writing a short python script for fun to check a few pages for the amount of likes. I am using the python requests module. As seen below, there was a problem, something about certificates. I am fairly new to programming involving the web, so it’s not obvious to me what I should do. r = requests.get("http://www.google.com/") correctly returned something.

Traceback (most recent call last):
r = requests.get(“https://graph.facebook.com/cocacola“)
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:21:38+00:00Added an answer on May 28, 2026 at 5:21 pm

    That error looks like it is coming from OpenSSL. You might have some configuration in your environment that is causing Requests to set the certificate location to something that doesn’t contain the certificate you need.

    Try investigating the possible ways that Requests might be checking for certificates:

    1. It look for configuration using REQUESTS_CA_BUNDLE environment variable.
    2. It checks for curl compatiblity check using CURL_CA_BUNDLE environment variable.
    3. It tries to import the certifi list if the certifi package can be imported.

    Check to see if one of REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE are in your environment:

    env | egrep "REQUESTS_CA_BUNDLE|CURL_CA_BUNDLE"
    

    If one of those are set, Requests is probably using that configuration when verifying certificates. If not then Requests is probably using certifi. In that case maybe it’s worth updating it:

    pip install -U certifi
    

    Failing that, try passing verify=False to requests.get to have it skip the verification step. I would recommend solving the real problem instead of just switching it off, but that might help you get to the bottom of it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm interested in writing a short python script which uploads a short binary file
Short of writing a function manually that translates a few known REFIID to names,
Hey guys/gals I'm writing a python script that fixes some duplicate issues on my
I'm writing a python program that deals with a fair amount of strings/files. My
I'm currently writing a web crawler (using the python framework scrapy ). Recently I
I'm writing a python script that takes a file one at a time or
I'm writing a script in Python 3.1.2 that logs into a site and then
I'm writing a python program to crawl twitter using a combination of urllib2, the
I am writing a python script to combine about 20+ RSS feeds. I would
I'm trying to call io_submit using python ctypes. The code I'm writing is supposed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.