Subscribe
Tag

Postgres

2 posts

Golang: Connecting to posgres using ssl

In this article, you will learn how to host a postgres server with ssl enabled using docker and connect to it using golang. 1. Hosting postgres with ssl 1.1 Setting up root certificate First, we need to create a root certificate which can issue server and client certificates. openssl

3 min read