<?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: Airflow - sas viya - SSL verification error in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Airflow-sas-viya-SSL-verification-error/m-p/914490#M27976</link>
    <description>According to the SAS airflow doc you need to specify the SSL CA or turn off certificate validation using the ssl_certificate_verification setting rather than "verify":&lt;BR /&gt;&lt;A href="https://github.com/sassoftware/sas-airflow-provider?tab=readme-ov-file#create-a-connection-to-sas" target="_blank"&gt;https://github.com/sassoftware/sas-airflow-provider?tab=readme-ov-file#create-a-connection-to-sas&lt;/A&gt;</description>
    <pubDate>Mon, 05 Feb 2024 14:00:32 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2024-02-05T14:00:32Z</dc:date>
    <item>
      <title>Airflow - sas viya - SSL verification error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Airflow-sas-viya-SSL-verification-error/m-p/914484#M27974</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am encountering below SSL verification error while attempting to trigger a sas viya(&lt;STRONG&gt;&lt;EM&gt;task 1_code1.sas)&lt;/EM&gt;&lt;/STRONG&gt; job from apache airflow using python script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ERROR - Failed to execute job 134 for task 1_code1.sas (SASStudioOperator error: HTTPSConnectionPool(host='sas-viya.gcp.xxx.xxx.ca', port=443): Max retries exceeded with url: //SASLogon/oauth/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)'))); 3467&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have tried adding the following code to disable SSL verification in the python script. &lt;SPAN&gt;However, the problem persists.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;import requests

# URL of the host for which SSL verification needs to be disabled
host_url = "https://sas-viya.gcp.xxx.xxx.ca"

# Disable SSL verification
response = requests.get(host_url, verify=False)

&lt;/PRE&gt;&lt;P&gt;and i have tried adding&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;CODE&gt;{"verify": "/path/to/ca.crt"}&lt;/CODE&gt; in the connection's extra field, to use the specified CA certificate for SSL verification. However, the problem persists.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Narendra_P_0-1707130524436.png" style="width: 628px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93263iAFCEEB8D63FCE74D/image-dimensions/628x463?v=v2" width="628" height="463" role="button" title="Narendra_P_0-1707130524436.png" alt="Narendra_P_0-1707130524436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest on this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 11:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Airflow-sas-viya-SSL-verification-error/m-p/914484#M27974</guid>
      <dc:creator>Narendra_P</dc:creator>
      <dc:date>2024-02-05T11:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Airflow - sas viya - SSL verification error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Airflow-sas-viya-SSL-verification-error/m-p/914490#M27976</link>
      <description>According to the SAS airflow doc you need to specify the SSL CA or turn off certificate validation using the ssl_certificate_verification setting rather than "verify":&lt;BR /&gt;&lt;A href="https://github.com/sassoftware/sas-airflow-provider?tab=readme-ov-file#create-a-connection-to-sas" target="_blank"&gt;https://github.com/sassoftware/sas-airflow-provider?tab=readme-ov-file#create-a-connection-to-sas&lt;/A&gt;</description>
      <pubDate>Mon, 05 Feb 2024 14:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Airflow-sas-viya-SSL-verification-error/m-p/914490#M27976</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-02-05T14:00:32Z</dc:date>
    </item>
  </channel>
</rss>

