Failed to authenticate. Verify the credentials and try again. Error setting up SQL connection. FATAL
Hi,
We have a Postgres database running on an EC2 server on AWS. We have whitelisted the IPs and set up an account to use SSL:
our pg_hba.conf includes:
hostssl all readonly_user 0.0.0.0/0 md5 clientcert=1
We are using a self-signed certificate, mostly followed the directions here:
https://www.howtoforge.com/postgresql-ssl-certificates
We are receiving the following error in Domo when attempting to connect:
Any suggestions?
Comments
-
Hello!
A few thoughts:
- Make sure you are using the "PostgreSQL SSH" connector, not the normal "PostgreSQL" connector.
- In whitelisting IP Addresses, see this document: https://knowledge.domo.com?cid=connectorips
- NOTE that there is one extra IP that should be whitelisted when using SSH connectors, make sure you have not missed that one.
- NOTE that these IPs are to be whitelisted in your EC2 environment and in your PostgreSQL database, not in the Domo Admin settings (Whitelisting in Domo Admin Settings is a different function altogether).
- Finally, working with a DBA of your PostgreSQL server (if that's not yourself), and with an administrator of your EC2 instance, review each of the settings listed in the PostgreSQL SSH connector configuration area for accuracy.
- The primary focus here, based on your error message, is to make sure that you have the correct Private Key listed in the Private Key field. If you have a certificate, but not a private key, contact Domo Support. They can help you extract the key from the certificate, or any DBA/Network Administrator is likely to know how to help with that as well.
Let us know if this information was helpful.
Thanks!
Starlord
Starlord
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
Hi user08502,
There are 13 IP addresses that need to be whitelisted to your Database and your network AND SSL has to be enabled. This allows Domo to access the data inside of your database and not inside Domo. Please make sure that you have entered all the IP addresses in correctly. You can refer to this Knowledge base article which has all the IP addresses on it.
https://knowledge.domo.com/?cid=connectorips
It also looks like your Database is requiring a certificate in order to authenticate. You will need to get that certificate and enter that into the configuration of the connector.
"CA certificate text or URL path is required only if you select Certificate text or URL path, respectively, in the Certificate type menu."
https://knowledge.domo.com/?cid=postgresql
Hope this helps!
-Jarvis
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive