I'm using dotConnect 7.17.1666 with Postgresql 12 on a ubuntu-Server. When trying to connect to the server/database, I get the following error:
Code: Select all
The server hello message uses a protocol that was not recognized.
Code: Select all
ssl = on
ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL'
#ssl_min_protocol_version = 'TLSv1.1'
#ssl_max_protocol_version = 'TLSv1.2'
Code: Select all
Dim con As New PgSqlConnection With {
.ConnectionString = "host=192.168.2.86;Port=5432;user id=musterdb;Password=mypassword;database=musterdb;unicode=true;"
}
con.SslOptions.CACert = "C:\Daten\root.crt"
con.SslOptions.Cert = "C:\Daten\musterdb.crt"
con.SslOptions.Key = "C:\Daten\musterdb.key"
con.SslOptions.SslMode = SslMode.Require
con.SslOptions.TlsProtocol = "1.2"
con.SslOptions.CipherList = "3DES"
con.Open()
Would you please give some advice?