Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vysokovsky
New Member

Connecting to PostgreSQL - The remote certificate is invalid according to the validation procedure

Trying to connect to PostgreSQL hosted at a virtual machine at 192.168.XX.XX, OS Ubuntu 18.10, but get an error "The remote certificate is invalid according to the validation procedure". I bought a valid certificate which resides in /etc/ssl/ folder, changed the owner of the 'server.key' file to postgres, gave 600 access privilege and restarted Postgres, but the error is still the same. What can I do to overcome the problem? Thanks!

2 REPLIES 2
TeigeGao
Solution Sage
Solution Sage

Hi @vysokovsky ,

Have you checked if it connects successfully when using other PostgreSQL Client like pgAdmin? If we can't use pgAdmin connecting to your PostgreSQL, this should be a problem in PostgreSQL.

Best Regards,

Teige

Hi, @TeigeGao ! Yes, I use pgAdmin without any problems. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.