Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Certificate Error in Production Mode with DocuSign API #232

Open
Mrad-Hamza opened this issue Aug 23, 2024 · 0 comments
Open

SSL Certificate Error in Production Mode with DocuSign API #232

Mrad-Hamza opened this issue Aug 23, 2024 · 0 comments

Comments

@Mrad-Hamza
Copy link

Mrad-Hamza commented Aug 23, 2024

Hello,
I'm encountering an issue with the DocuSign API. While everything works perfectly in test mode, switching to production mode triggers the following error:

DocuSign\eSign\Client\ApiException: API call to https://account.docusign.com/oauth/token failed: SSL certificate problem: self signed certificate in certificate chain in App\ElectronicSign\vendor\docusign\esign-client\src\Client\ApiClient.php:321 Stack trace: #0 App\ElectronicSign\vendor\docusign\esign-client\src\Client\ApiClient.php(597): DocuSign\eSign\Client\ApiClient->callApi('/oauth/token', 'POST', Array, 'assertion=eyJ0e...', Array, NULL, NULL, true) #1 App\ElectronicSign\Service\SignatureStrategy\Docusign\DocusignSignature.php(181): DocuSign\eSign\Client\ApiClient->requestJWTUserToken('0eb63...', '1dbd...', '-----BEGIN RSA ...', Array) #2 App\ElectronicSign\Service\SignatureStrategy\Docusign\DocusignSignature.php(278): App\ElectronicSign\Service\SignatureStrategy\Docusign\DocusignSignature->createJWTUserToken()

Details:

  • The integration key is valid for production mode.
  • The SSL certificate being used is not self-signed and is trusted by Microsoft (listed here: Microsoft Trusted Root Program).
    Could you provide insights on what might be causing this error?

Thank you for your assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant