Usage Note 58054: An SSL-enabled connection to Greenplum might return the error "SSL Handshake Failure reason [Unknown SSL Error]"
Using SAS/ACCESS® Interface to Greenplum to connect to an SSL-enabled Greenplum database might result in an intermittent connection failure, similar to this:
libname mygp greenplm server="greenplum.server.com" port=5432 database="test" user="gpuser" password=XXXX
schema=public conopts="EncryptionMethod=1;ValidateServerCertificate=0";
ERROR: CLI error trying to establish connection: [SAS][ODBC Greenplum Wire Protocol driver]SSL Handshake
Failure reason [Unknown SSL Error].
ERROR: Error in the LIBNAME statement.
When the SSL handshake is performed, a lack of entropy might exist, causing the handshake to be delayed. That delay, in turn, causes the error.
To prevent this issue, do one of the following:
- Add the following statement in the CONOPTS= option in your LIBNAME statement:
libname mygp greenplm server="greenplum.server.com" port=5432 database="test" user="gpuser" password=XXXX schema=public
conopts="EncryptionMethod=1;ValidateServerCertificate=0;SeedBeforeConnect=1";
- In Linux and UNIX operating environments, add the following to your data source name (DSN) entry in the odbc.ini file:
[Greenplum_DB]
Driver=/sasinstall/AccessClients/9.4/Greenplum/lib/S0gplm27.so
Description=SAS ACCESS to Greenplum
...
SeedBeforeConnect=1
- Under Windows, modify your ODBC data source to look like this:
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Greenplum | Microsoft® Windows® for x64 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 8 Enterprise x64 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 8 Pro 32-bit | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 8 Pro x64 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 8.1 Pro x64 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows 10 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2008 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2008 R2 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2008 for x64 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Datacenter | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2012 R2 Std | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Std | 9.4_M3 | | 9.4 TS1M3 | |
Windows 7 Enterprise 32 bit | 9.4_M3 | | 9.4 TS1M3 | |
Windows 7 Enterprise x64 | 9.4_M3 | | 9.4 TS1M3 | |
Windows 7 Home Premium 32 bit | 9.4_M3 | | 9.4 TS1M3 | |
Windows 7 Home Premium x64 | 9.4_M3 | | 9.4 TS1M3 | |
Windows 7 Professional 32 bit | 9.4_M3 | | 9.4 TS1M3 | |
Windows 7 Professional x64 | 9.4_M3 | | 9.4 TS1M3 | |
Windows 7 Ultimate 32 bit | 9.4_M3 | | 9.4 TS1M3 | |
Windows 7 Ultimate x64 | 9.4_M3 | | 9.4 TS1M3 | |
64-bit Enabled AIX | 9.4_M3 | | 9.4 TS1M3 | |
64-bit Enabled Solaris | 9.4_M3 | | 9.4 TS1M3 | |
HP-UX IPF | 9.4_M3 | | 9.4 TS1M3 | |
Linux for x64 | 9.4_M3 | | 9.4 TS1M3 | |
Solaris for x64 | 9.4_M3 | | 9.4 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | |
Topic: | Data Management ==> Access ==> Client/Server Data Management ==> Data Sources ==> External Databases ==> GreenPlum
|
Date Modified: | 2016-05-15 15:02:02 |
Date Created: | 2016-04-15 16:17:38 |