-
-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
psycopg2.OperationalError: SSL error: disabled for FIPS #1170
Comments
I dont know what is FIPS. Are you using |
FIPS (Federal Information Processing Standards) are a set of standards that describe document processing, encryption algorithms and other information technology standards for use within non-military government agencies and by government contractors and vendors who work with the agencies. We are using |
If you are using psycopg2-binary then it is using its own version of libssl, which probably doesn't support FIPS. Please use psycopg2 from source, which will use the same libssl used by psql, so it will be able to connect. |
@dvarrazzo |
I'm glad. I understand that you need to be pretty much in control of what libssl to use: for your use case you should probably stay away from |
Getting the below error for a FIPS enabled RHEL8 machine.
pg_hba.conf have an entry
hostssl all all 0.0.0.0/0 md5
I have tried changing
md5
totrust
, but seeing the same issue.Am able to connect to DB using psql
Need some help here
TIA
The text was updated successfully, but these errors were encountered: