Versions 18 and laterSSL certificatesThe Native PostgreSQL Access supports the connections that use SSL certificates. To support the connections that use SSL certificates: 1. On the server: Use a PostgreSQL server that supports the SSL connections. See the PostgreSQL documentation to find out how to generate the SSL certificate files and how to configure the server to only allow the SSL connections. 2. On the client computer: Use a PostgreSQL client layer compiled with the support for SSL connections. 3. By default, the PostgreSQL client layer will find the SSL certificate files in the directory: %APPDATA%\postgresql. For example: "C:\Users\Florence\appData\roaming\postgresql". You have the ability to rename and place these files in different directory by specifying their locations in the connection string via the keywords: SSL Cret, SSL Key, SSL CA. 4. Use the keywords corresponding to the SSL options in the connection information. The recognized keywords are: - SSL Key
- SSL Cert
- SSL CA
- SSL CRL
- SSL Mode
These parameters correspond to the parameters of same name found in PQconnectdb. Note: By default, the Native Access tries to open a SSL connection then a non-SSL connection in case of failure. To check the opening mode of the connection, the "SSL Mode" keyword must be added into the extended information of the connection, followed by the requested mode. Example of extended information to use the default certificates : The postgresql.crt, postgresql.key, Root.crt files are found in the %APPDATA%\postgresql directory: Server Port=5432;SSL Mode = verify-full Example of extended information to use renamed certificates: Server Port=5432; SSL CA = C:\SSL Certificates\CA.crt ; SSL Cert = C:\SSL Certificates\my.crt ; SSL Key = C:\SSL Certificates\my.key ; SSL Mode = verify-full See Optional connection information for more details. New in version 18SSL certificatesThe Native PostgreSQL Access supports the connections that use SSL certificates. To support the connections that use SSL certificates: 1. On the server: Use a PostgreSQL server that supports the SSL connections. See the PostgreSQL documentation to find out how to generate the SSL certificate files and how to configure the server to only allow the SSL connections. 2. On the client computer: Use a PostgreSQL client layer compiled with the support for SSL connections. 3. By default, the PostgreSQL client layer will find the SSL certificate files in the directory: %APPDATA%\postgresql. For example: "C:\Users\Florence\appData\roaming\postgresql". You have the ability to rename and place these files in different directory by specifying their locations in the connection string via the keywords: SSL Cret, SSL Key, SSL CA. 4. Use the keywords corresponding to the SSL options in the connection information. The recognized keywords are: - SSL Key
- SSL Cert
- SSL CA
- SSL CRL
- SSL Mode
These parameters correspond to the parameters of same name found in PQconnectdb. Note: By default, the Native Access tries to open a SSL connection then a non-SSL connection in case of failure. To check the opening mode of the connection, the "SSL Mode" keyword must be added into the extended information of the connection, followed by the requested mode. Example of extended information to use the default certificates : The postgresql.crt, postgresql.key, Root.crt files are found in the %APPDATA%\postgresql directory: Server Port=5432;SSL Mode = verify-full Example of extended information to use renamed certificates: Server Port=5432; SSL CA = C:\SSL Certificates\CA.crt ; SSL Cert = C:\SSL Certificates\my.crt ; SSL Key = C:\SSL Certificates\my.key ; SSL Mode = verify-full See Optional connection information for more details. SSL certificates
The Native PostgreSQL Access supports the connections that use SSL certificates.To support the connections that use SSL certificates: 1. On the server: Use a PostgreSQL server that supports the SSL connections. See the PostgreSQL documentation to find out how to generate the SSL certificate files and how to configure the server to only allow the SSL connections. 2. On the client computer: Use a PostgreSQL client layer compiled with the support for SSL connections. 3. By default, the PostgreSQL client layer will find the SSL certificate files in the directory: %APPDATA%\postgresql. For example: "C:\Users\Florence\appData\roaming\postgresql". You have the ability to rename and place these files in different directory by specifying their locations in the connection string via the keywords: SSL Cret, SSL Key, SSL CA. 4. Use the keywords corresponding to the SSL options in the connection information. The recognized keywords are: - SSL Key
- SSL Cert
- SSL CA
- SSL CRL
- SSL Mode
These parameters correspond to the parameters of same name found in PQconnectdb.Note: By default, the Native Access tries to open a SSL connection then a non-SSL connection in case of failure. To check the opening mode of the connection, the "SSL Mode" keyword must be added into the extended information of the connection, followed by the requested mode. Example of extended information to use the default certificates : The postgresql.crt, postgresql.key, Root.crt files are found in the %APPDATA%\postgresql directory: Server Port=5432;SSL Mode = verify-full Example of extended information to use renamed certificates:Server Port=5432; SSL CA = C:\SSL Certificates\CA.crt ; SSL Cert = C:\SSL Certificates\my.crt ; SSL Key = C:\SSL Certificates\my.key ; SSL Mode = verify-full See Optional connection information for more details. |