Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

ISSUE with Secured SSL SITE #52

Open
pankajmalkani opened this issue Jun 23, 2021 · 1 comment
Open

ISSUE with Secured SSL SITE #52

pankajmalkani opened this issue Jun 23, 2021 · 1 comment

Comments

@pankajmalkani
Copy link

My site already has Secured SSL, but however i have encountered the issue while uploading the dwg files below
"Exception when calling BucketsApi->createBucket: API call to https://developer.api.autodesk.com/oss/v2/buckets failed: SSL certificate problem: self signed certificate in certificate chain"

Please let me know the solution ASAP for this above menioned issue.

thanks and regards,
Pankaj

@yiskang
Copy link

yiskang commented Sep 3, 2021

Sounds related to this issue: guzzle/guzzle#1855

A workaround is to disable SSL certificate validation at https://github.com/Autodesk-Forge/core-php-client/blob/3d55f599a5f90b8710057ee051a1061b236933fd/lib/Auth/TokenFetcher.php#L52 like the below according to the GuzzleHttp API documentation:

if ($httpClient === null) {
    $httpClient = new GuzzleClient([
      'verify' => false
    ]);
}

You can do this change in the vendor/autodesk/core/lib/Auth/TokenFetcher.php folder of his PHP project. If it doesn't work, you need to check your php.ini and find if there are any special SSL settings that exist (see ref).

enter image description here

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

No branches or pull requests

2 participants