Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2021 07:34 AM
Hi,
How is that possible to disable SSL Certification.
With databricks API I got this error :
SSLCertVerificationError
SSLCertVerificationError: ("hostname 'https' doesn't match either of '*.numericable.fr', 'numericable.fr'",)
MaxRetryError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //adb-XXXXXXXXXXXXXX.azuredatabricks.net/api/2.0/workspace/mkdirs (Caused by SSLError(SSLCertVerificationError("hostname 'https' doesn't match either of '*.numericable.fr', 'numericable.fr'")))when executing the following script
response = requests.post(
'https://{}/api/2.0/workspace/mkdirs'.format(DOMAIN),
headers={'Authorization': 'Bearer {}'.format(TOKEN)},
json={"path": "/Shared/released_notebooks/modules"}
)Thanks