<?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: Issue with BL_USE_SSL Option in LIBNAME Statement for Redshift in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948652#M371149</link>
    <description>&lt;P&gt;Have you had Redshift working at all with other authentication options? The error suggests there is a configuration problem on the SAS side. I suggest you discuss this with your SAS administrator. Have settings for this Redshift server been added to odbc.ini?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2024 19:43:39 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2024-10-22T19:43:39Z</dc:date>
    <item>
      <title>Issue with BL_USE_SSL Option in LIBNAME Statement for Redshift</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948313#M371080</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm using SAS 9.4 and trying to connect to Amazon Redshift using the built-in `redshift` engine in the `LIBNAME` statement. According to the documentation, the `BL_USE_SSL` option should enable SSL, but I'm encountering an error that says the option is not recognized.&lt;/P&gt;&lt;P&gt;Here is the `LIBNAME` statement I'm using:&lt;/P&gt;&lt;P&gt;```SAS&lt;BR /&gt;libname myredshift redshift&lt;BR /&gt;server='your_redshift_server'&lt;BR /&gt;port=5439&lt;BR /&gt;user='your_username'&lt;BR /&gt;password='your_password'&lt;BR /&gt;database='your_database'&lt;BR /&gt;schema='public'&lt;BR /&gt;bl_use_ssl=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on SAS 9.4 document, bl_use_ssl is default to YES (value 1). But If I don't include bl_use_ssl=1&amp;nbsp; LIBNAME option, I got error like " ...&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;SSL off(File /home/ec2-user/padb/src/pg/src/backend/libpq/auth.c; Line 477; Routine ClientAuthentication;)&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Anyone has idea what is going wrong here?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks&lt;/DIV&gt;&lt;DIV class=""&gt;Gary Gu&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Oct 2024 03:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948313#M371080</guid>
      <dc:creator>guy25_bms</dc:creator>
      <dc:date>2024-10-21T03:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BL_USE_SSL Option in LIBNAME Statement for Redshift</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948414#M371102</link>
      <description>&lt;P&gt;It is best practice on this forum to not separate code from error messages and to copy the text from the LOG with the code and all the messages generated by the step in question. Then on the forum open a text box clicking on the &amp;lt;/&amp;gt; icon that appears above the main message box and pasting all the text into the text box. You can edit the pasted text to XXXX over sensitive items like user and password information if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not uncommon to find something in the LOG that the entered "code" doesn't show because the forum software reformats pasted text and may remove or insert something that caused problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One concern: LIBNAME should be restricted to 8 characters. You may be having one problem by using myredshift which is 10 characters. Which may mask other problems.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 15:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948414#M371102</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-10-21T15:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BL_USE_SSL Option in LIBNAME Statement for Redshift</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948642#M371147</link>
      <description>&lt;P&gt;Sorry for my previous message that code example is not matched with error message.&lt;/P&gt;&lt;P&gt;After awhile, i realized that for redshift engine, BL_USE_SSL=1&amp;nbsp; is not right. It should be BL_USE_SSL=YES. After i made change. I still get error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;libname x redshift server="&amp;amp;rs_server" port=5439 user="&amp;amp;rs_user" password="&amp;amp;rs_pwd" database="xxxx"&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;BL_USE_SSL=YES&lt;/STRONG&gt;&amp;nbsp; schema="xxxx";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i got error:&lt;/P&gt;&lt;DIV class=""&gt;&lt;FONT color="#FF0000"&gt;ERROR: CLI error trying to establish connection: [SAS][ODBC Redshift Wire Protocol driver][Redshift]FATAL: &lt;STRONG&gt;no pg_hba.conf entry for&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;host "::ffff: xxxx", user "bms_rwrdmuser", database "xxxx", SSL off&lt;/STRONG&gt;(File&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#FF0000"&gt;/home/ec2-user/padb/src/pg/src/backend/libpq/auth.c; Line 477; Routine ClientAuthentication; )&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;What does it mean here "no pg_hba.conf entry for host "...ffff: xxxx ..."?&lt;/DIV&gt;&lt;DIV class=""&gt;looks like something wrong in ClientAuthentication from AWS SDK?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks for your further explanation and help&lt;/DIV&gt;&lt;DIV class=""&gt;Gary&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Oct 2024 19:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948642#M371147</guid>
      <dc:creator>guy25_bms</dc:creator>
      <dc:date>2024-10-22T19:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BL_USE_SSL Option in LIBNAME Statement for Redshift</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948652#M371149</link>
      <description>&lt;P&gt;Have you had Redshift working at all with other authentication options? The error suggests there is a configuration problem on the SAS side. I suggest you discuss this with your SAS administrator. Have settings for this Redshift server been added to odbc.ini?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 19:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948652#M371149</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-10-22T19:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BL_USE_SSL Option in LIBNAME Statement for Redshift</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948808#M371194</link>
      <description>without turning on SSL on Redshift server, everything works fine for a long time.</description>
      <pubDate>Wed, 23 Oct 2024 19:31:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948808#M371194</guid>
      <dc:creator>guy25_bms</dc:creator>
      <dc:date>2024-10-23T19:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BL_USE_SSL Option in LIBNAME Statement for Redshift</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948826#M371198</link>
      <description>&lt;P&gt;The &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/n0u88501m7h5vjn1q2x29s6urjmx.htm" target="_blank" rel="noopener"&gt;Redshift documentation examples&lt;/A&gt; suggest you also require other bulk loading options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/p1vy3smle21nkxn19r6qzxd2ay02.htm" target="_blank" rel="noopener"&gt;BL_USE_SSL&lt;/A&gt; only works with bulkunload = yes.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 20:52:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948826#M371198</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-10-23T20:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BL_USE_SSL Option in LIBNAME Statement for Redshift</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948827#M371199</link>
      <description>Ok i think I used a wrong option (BL_USE_SSL). My purpose is to enable SSL for SAS app that connects to Amazon Redshift that its SSL is turned on (require_ssl=true). If you have any guidance / example, it is appreciated very much if you can share them.</description>
      <pubDate>Wed, 23 Oct 2024 21:06:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-BL-USE-SSL-Option-in-LIBNAME-Statement-for-Redshift/m-p/948827#M371199</guid>
      <dc:creator>guy25_bms</dc:creator>
      <dc:date>2024-10-23T21:06:40Z</dc:date>
    </item>
  </channel>
</rss>

