The properties CACert, Cert and Key of SslOptions property in PgSqlConnection expect file locations.
If I have the certificate and key in memory as strings instead of files is it possible to open the ssl connection or they have to be in files?
Thanks
Dragan
is it possible to make ssl connection by sending certificate and key as strings as opposed to file locations?
-
- Posts: 4
- Joined: Thu 15 Nov 2018 17:39
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: is it possible to make ssl connection by sending certificate and key as strings as opposed to file locations?
You can use the MemCryptStorage class. It allows storing certs' content in the memory. For more information, please refer to
https://www.devart.com/dotconnect/postg ... tions.html
https://www.devart.com/dotconnect/postg ... orage.html
https://www.devart.com/dotconnect/postg ... ring).html
https://www.devart.com/dotconnect/postg ... tions.html
https://www.devart.com/dotconnect/postg ... orage.html
https://www.devart.com/dotconnect/postg ... ring).html