---
title: "Discussion on \"How to Authenticate to Postgres from Rails using an SSL certificate.\" | Hashnode"
description: "Discussion on \"How to Authenticate to Postgres from Rails using an SSL certificate.\". Rails configuration settings needed to authenticate to Postgres with an SSL/TLS certificate. Both locally and on Heroku."
url: "https://hashnode.com/posts/how-to-authenticate-to-postgres-from-rails-using-an-ssl-certificate/64888ec812035718098d7000"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Authenticate to Postgres from Rails using an SSL certificate.](https://codemeister.dev/how-to-authenticate-to-postgres-from-rails-using-an-ssl-certificate?utm_source=hashnode&utm_medium=feed)

Rails configuration settings needed to authenticate to Postgres with an SSL/TLS certificate. Both locally and on Heroku.

Jun 13, 2023 · 5 min read · codemeister.dev  
Read the article

-   [#rails](https://hashnode.com/tag/rails)
-   [#ssl-certificate](https://hashnode.com/tag/ssl-certificate)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#postgres](https://hashnode.com/tag/postgres)
-   [#databases](https://hashnode.com/tag/databases)

## Written by

[CodeMeister](https://hashnode.com/@CodeMeister)

@CodeMeister

  
[View profile](https://hashnode.com/@CodeMeister)

Ruby on Rails Developer

Any day you learn something new, is never a wasted day.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
