In WindwosPC, C #, we are creating a process of linking with other systems in the intranet (data acquisition from Postgresql).
I want to make an SSL connection to Postgresql.


The following files were provided by the vendor of the other party because SSL connection was made to the data acquisition source DB.

  • ca.crt
  • XXXX.crt
  • XXXX.pem
  • XXXX.pass
    (XXX is the same name. It has a name that seems to be a user name)

I'm using npgsql for the connection, but the paths of these files are
It is in a state where it is not possible to consider where to reflect it in the connection string.

I'm sorry for the basic question, but does anyone know how to connect using these files?

Also, I would appreciate it if you could also teach me how to connect using tools such as A5SQL.