There was a problem loading the comments.

API authentication error due to SSL verification failure

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
  • Summary:

     

    Failing API authentication via Python

     

    Question/Issue Description:

     

    API calls sent from Python-based applications are failing authentication and returns an SSL verification failed error even if the site's SSL certificate is still valid. All functions from the FileCloud web interfaces are working.
    Error: SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate

     

    Environment Details:

    • Product - FileCloud API
    • Version - Any 
    • Platform - Any
    • Application - Python

    Error/Log Message:

     

    sample call

    LoginCall=s.post(ServerURL+LoginEndPoint, data=Creds, headers=Headers).json()

     

    result

    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)

     

    Steps to Reproduce:

     

    NA

     

    Resolution/Workaround:

     

    1. Verify if your site has all the valid SSL certificate files installed. You can use a third-party site to validate your site's SSL certificates. (Ex. SSL Shopper).
    2. If the SSL Checker returns an error like the screenshot below, it should tell which certificate files are missing from your site.
    3. d7ac601128990f9a07b10d11752527fed108bdc72d5d368f896444f8bba31bee87030815763b0074?t=0a71adaea0e62aa12954d3f97b1c54c2
    4. Install the files mentioned above using the methods below:

     

    Notes:

     

  • Make sure that you have the valid certificate files for your site.

 

Support docs for reference:

 


Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© FileCloud