You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using kerberos authentication to connect to postgres. In pg_hba.conf there is a separate host type hostgssenc, which enables secure data transport between client and server. If I use this line:
host all all 0.0.0.0/0 gss include_realm=1 krb_realm=DOMAIN1.LOCAL
everything works fine. However, the connection is not secure.
If I change host to hostgssenc, I get this error:
failed to connect to host=postgres user=testuser@DOMAIN1.LOCAL database=vault: server error (FATAL: no pg_hba.conf entry for host "172.18.0.2", user "testuser@DOMAIN1.LOCAL", database "vault", no encryption (SQLSTATE 28000))
If I connect to postgres via psql, the connection becomes secure along with authentication.
I suppose this error may be related to gokrb5 library, but I'm not sure
The text was updated successfully, but these errors were encountered:
I am using kerberos authentication to connect to postgres. In pg_hba.conf there is a separate host type
hostgssenc
, which enables secure data transport between client and server. If I use this line:host all all 0.0.0.0/0 gss include_realm=1 krb_realm=DOMAIN1.LOCAL
everything works fine. However, the connection is not secure.
If I change
host
tohostgssenc
, I get this error:failed to connect to host=postgres user=testuser@DOMAIN1.LOCAL database=vault: server error (FATAL: no pg_hba.conf entry for host "172.18.0.2", user "testuser@DOMAIN1.LOCAL", database "vault", no encryption (SQLSTATE 28000))
If I connect to postgres via psql, the connection becomes secure along with authentication.
I suppose this error may be related to gokrb5 library, but I'm not sure
The text was updated successfully, but these errors were encountered: