<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSLCertVerificationError how to disable SSL Certification in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10987#M6029</link>
    <description>&lt;P&gt;Hi @Bertrand BURCKER​&amp;nbsp;I believe you were able to resolve the issue. Would you be happy to mark the answer as best so that others can quickly find the solution in the future?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 16:21:44 GMT</pubDate>
    <dc:creator>Prabakar</dc:creator>
    <dc:date>2021-11-17T16:21:44Z</dc:date>
    <item>
      <title>SSLCertVerificationError how to disable SSL Certification</title>
      <link>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10982#M6024</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;How is that possible to disable SSL Certification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With databricks API I got this error :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SSLCertVerificationError
&amp;nbsp;
SSLCertVerificationError: ("hostname 'https' doesn't match either of '*.numericable.fr', 'numericable.fr'",)
&amp;nbsp;
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'")))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;when executing the following script&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;response = requests.post(
  'https://{}/api/2.0/workspace/mkdirs'.format(DOMAIN),
  headers={'Authorization': 'Bearer {}'.format(TOKEN)},
  json={"path": "/Shared/released_notebooks/modules"}
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 15:34:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10982#M6024</guid>
      <dc:creator>RantoB</dc:creator>
      <dc:date>2021-11-11T15:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSLCertVerificationError how to disable SSL Certification</title>
      <link>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10984#M6026</link>
      <description>&lt;P&gt;Hi @Bertrand BURCKER​&amp;nbsp;I tried your code and ended up with a different error. To create a directory you can try the below code and it will help create the folder for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import requests
from pyspark.sql.types import (StructField, StringType, StructType, IntegerType)
API_URL = dbutils.notebook.entry_point.getDbutils().notebook().getContext().apiUrl().getOrElse(None)
TOKEN = dbutils.notebook.entry_point.getDbutils().notebook().getContext().apiToken().getOrElse(None)
&amp;nbsp;
response = requests.post(
  API_URL + '/api/2.0/workspace/mkdirs', 
  headers={"Authorization": "Bearer " + TOKEN},
  json={"path": "/Users/prabakarxxxxxxxx/Test_dir1/"}
 )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 08:33:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10984#M6026</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-11-12T08:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: SSLCertVerificationError how to disable SSL Certification</title>
      <link>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10985#M6027</link>
      <description>&lt;P&gt;Hi, thanks for you answer. Thanks to your code which was a bit different from mine, I noticed a error in my code. (I had "https://" twice...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 11:37:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10985#M6027</guid>
      <dc:creator>RantoB</dc:creator>
      <dc:date>2021-11-12T11:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: SSLCertVerificationError how to disable SSL Certification</title>
      <link>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10986#M6028</link>
      <description>&lt;P&gt;@Bertrand BURCKER​&amp;nbsp;- Thanks for letting us know your issue is resolved. If @Prabakar Ammeappin​'s answer solved the problem, would you be happy to mark his answer as best so others can more easily find an answer for this?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 16:29:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10986#M6028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-12T16:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: SSLCertVerificationError how to disable SSL Certification</title>
      <link>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10987#M6029</link>
      <description>&lt;P&gt;Hi @Bertrand BURCKER​&amp;nbsp;I believe you were able to resolve the issue. Would you be happy to mark the answer as best so that others can quickly find the solution in the future?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 16:21:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sslcertverificationerror-how-to-disable-ssl-certification/m-p/10987#M6029</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-11-17T16:21:44Z</dc:date>
    </item>
  </channel>
</rss>

