Replies: 6 comments 5 replies
-
HammerDB includes the option to set the SSL mode:
as described here: https://www.postgresql.org/docs/current/libpq-ssl.html |
Beta Was this translation helpful? Give feedback.
-
Hello , We are trying to connect to postgresql via hammerdb using ssl certificate, but we are not finding any option on how to pass the certificates in hammerdb? We dont have postgresql installed locally. I didn't find where to put the certificate in hammerdb. It's possible to do ? |
Beta Was this translation helpful? Give feedback.
-
I have installed postgresql15 on my windows laptop and hammerdb as well. Not really sure where to pass the 3 certificates , can you please guide me the location where can i pass the SSL certificates so that i can connect via hammerdb. hammerdb>print dict |
Beta Was this translation helpful? Give feedback.
-
Thnq able to connect now
…On Mon, Feb 27, 2023 at 12:48 PM Steve Shaw ***@***.***> wrote:
We are using libpq to connect. As above this successfully worked on Linux
so should do the same on Windows using the correct file i.e.
%APPDATA%\postgresql\root.crt.
The documentation is here:
https://www.postgresql.org/docs/current/libpq-ssl.html look for sections
on windows certificates e.g.
To allow server certificate verification, one or more root certificates
must be placed in the file ~/.postgresql/root.crt in the user's home
directory. *(On Microsoft Windows the file is named
%APPDATA%\postgresql\root.crt.)*
34.19.2. Client Certificates
If the server attempts to verify the identity of the client by requesting
the client's leaf certificate, libpq will send the certificate(s) stored in
file ~/.postgresql/postgresql.crt in the user's home directory. The
certificates must chain to the root certificate trusted by the server. A
matching private key file ~/.postgresql/postgresql.key must also be present.
On Microsoft Windows these files are named
*%APPDATA%\postgresql\postgresql.crt* and
*%APPDATA%\postgresql\postgresql.key*. The location of the certificate
and key files can be overridden by the connection parameters sslcert and
sslkey, or by the environment variables PGSSLCERT and PGSSLKEY.
—
Reply to this email directly, view it on GitHub
<#361 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A56E3KSHENWX5E5VM3W5GS3WZTSH3ANCNFSM5WBLWJMQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Do you have the documen
…On Tue, Feb 28, 2023 at 4:17 AM Steve Shaw ***@***.***> wrote:
Great, thank-you for updating that it works on Windows as well as Linux
—
Reply to this email directly, view it on GitHub
<#361 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A56E3KVY7TR2I5D26T7A6Q3WZW7CNANCNFSM5WBLWJMQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Do you have documentation on how to install hammerdb on linux i am facing
issue with display on linux,
On Tue, Feb 28, 2023 at 6:07 PM Surendra Maddi ***@***.***>
wrote:
… Do you have the documen
On Tue, Feb 28, 2023 at 4:17 AM Steve Shaw ***@***.***>
wrote:
> Great, thank-you for updating that it works on Windows as well as Linux
>
> —
> Reply to this email directly, view it on GitHub
> <#361 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A56E3KVY7TR2I5D26T7A6Q3WZW7CNANCNFSM5WBLWJMQ>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Guys, I have some PostgreSQL that was provisioned in two differente cloud providers and the access mode for those DB is by using an SSLROOTCERT.
I didn't find where to put the certificate in hammerdb. It's possible to do ?
Beta Was this translation helpful? Give feedback.
All reactions