• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

[SSL: CERTIFICATE_VERIFY_FAILED]

New Here ,
May 28, 2024 May 28, 2024

Copy link to clipboard

Copied

Hello,
I'm trying to extract the content of a PDF using the Adobe API (I used the python code offered by Adobe), but I get this error message:

INFO:adobe.pdfservices.operation.internal.pdf_services_helper:Started uploading asset
ERROR:root:Exception encountered while executing operation: description =Exception in fetching access token, requestTrackingId=(<class 'adobe.pdfservices.operation.exception.exceptions.SdkException'>, SdkException('Request could not be completed. Possible cause attached !', (<class 'requests.exceptions.SSLError'>, SSLError(MaxRetryError("HTTPSConnectionPool(host='pdf-services-ue1.adobe.io', port=443): Max retries exceeded with url: /token ( Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))")), <traceback object at 0x000001F91A4C5180>)), <traceback object at 0x000001F91A4C7F40>)

Can anyone explain to me the reason for the problem and how to solve it?
Thanks in advance.

Views

145

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 29, 2024 May 29, 2024

Copy link to clipboard

Copied

I tried using curl (rather than python) following the steps described here, but on the first request I got the following error:

curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

 

I would like to manually add the API certificate to the list of allowed certificates, where can I find it?

 

@Raymond Camden ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 29, 2024 May 29, 2024

Copy link to clipboard

Copied

I've got no clue - I've never needed to worry about SSL certs when using Node or Python with the APIs. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 12, 2024 Jun 12, 2024

Copy link to clipboard

Copied

I'm getting similar SSL error as well when trying to upload pptx file using the example python script

 

adobe.pdfservices.operation.exception.exceptions.SdkException: description =Request could not be completed. Possible cause attached!, requestTrackingId=(<class 'requests.exceptions.SSLError'>, SSLError(MaxRetryError("HTTPSConnectionPool(host='dcplatformstorageservice-prod-us-east-1.s3-accelerate.amazonaws.com', port=443): Max retr
ies exceeded with url: /

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 13, 2024 Jun 13, 2024

Copy link to clipboard

Copied

I got the same error in Python and Node.js example from Adobe. Any solution?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 13, 2024 Jun 13, 2024

Copy link to clipboard

Copied

LATEST

If you switch from the SDK to a direct REST API call, does it work?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources