This server couldn't prove that it's api.fda.gov; its security certificate is from *.fr.cloud.gov. This may be caused by a misconfiguration or an attacker intercepting your connection.

  • Please detail how you are connecting, whether it is the first time you try, or from when it started happening.
    – Nicolas Raoul
    Jan 6, 2023 at 3:32

2 Answers 2


We had a series of brief outages last week while adapting our networking to support an upstream change. The issue is now resolved and uptime is restored to our normal consistency. Thank you for your patience and my apologies for any problems this created for our users.

Regards, Violet Wren openFDA Tech Lead


I'm experiencing the same issue. I'm accessing the API through the Python requests module. I fixed the issue by adding the argument verify=False in my request (full code below). I'm pretty sure this is bad practice, but I think it's fine for a trusted source like the FDA for a small number of API calls (which is my case). Someone please correct me if I'm wrong. The following is my call for information about a particular NDC, which generated the error you've mentioned.

r = requests.get('https://api.fda.gov/drug/ndc.json?search=packaging.package_ndc:{NDC}')

When I change it to:

r = requests.get('https://api.fda.gov/drug/ndc.json?search=packaging.package_ndc:{NDC}', verify=False)

it works. Hope that helps until they fix the issue.

EDIT: It seems to work now. No need to have verify=False if you're using requests in Python.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.