Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Custom CA certificates and SSL verification settings for corporate proxies? #1158

Copy link
Copy link
@saiteja-madha

Description

@saiteja-madha
Issue body actions

Description of the Issue

When using Box SDK Gen with a corporate proxy that uses self-signed certificates, I’m encountering SSL verification errors. The SDK doesn’t provide a way to configure custom certificates or disable SSL verification, which is needed for environments with corporate proxies that perform SSL inspection.

Steps to Reproduce

  1. Set up corporate proxy in environment variables or requests configuration
  2. Initialize Box SDK client
  3. Attempt to make API calls
  4. Receive SSL verification error with message “certificate verify failed: self signed certificate in certificate chain”

Expected Behavior

The SDK should provide options to:

  • Configure custom CA certificates for verification via a .pem file
  • Disable SSL verification

Error Message, Including Stack Trace

HTTPSConnectionPool(host='api.box.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))

Versions Used

Python SDK: 1.8.0
Python: 3.11.x

Reactions are currently unavailable

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.