Alaska Software Inc. - Compile SSL support
Username: Password:
AuthorTopic: Compile SSL support
Frits Janse KokCompile SSL support
on Tue, 27 Jul 2021 11:55:26 +0200
Hi,

When I try to connect to a MS Azure hosted Postgres DB I get an error.

Error:
DacSession error nr: 1289842995
sslmode value "require" invalid when SSL support is not compiled in

The SSL connection is mandatory from if there is a connection to Azure.
I've downloaded the SSL cert created by MS for the database.

============== CODE =================

Connection String
LOCAL cConnect := "DBE=PGDBE;PORT=5432;SERVER=" + cSQLServer + ";DB=" + 
cDBname + ";UID=" + cUID + ";PWD="  + cPWD + ";sslmode=require"

oSession := DacSession():new(cConnect)

============== ---- =================


Kind regards,

FritsJK

Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com