PostgreSQL with secure access

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
infratec
Always Here
Always Here
Posts: 6874
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

PostgreSQL with secure access

Post by infratec »

Hi,

at the moment we can only access PostgreSQL via standard unsecure connection.
It would be nice if we can use also the TLS connection.

As a workaround I coded a ProxyServer in PB with help of GNU TLS.
But is not working perfect, I can not detect if still datas have to arrive.
So I run sometimes in a timeout.
I have to look deeper inside the packets to detect the length for each.

Maybe I'll try it with libcurl, since there is also TLS inside.

Bernd