PostgreSQL DSN question for Azure


I’m doing the Microsoft Azure right now.I am configuring the chirsptack network server.
in the .toml configuration i added this but i am a bit confused in the documentation it says that

dsn=“postgres://[chirpstack_ns username]:[chirpstack_ns database password]@[PostgreSQL Server Name]/chirpstack_ns**?sslmode=disable**”

with …?sslmode=disable at the end or without …?sslmode=disable?


Remove it if your PostgreSQL is configured with TLS with a valid cert. This is the norm for AWS RDS, but I can’t speak to other services.

1 Like

Depends on how you are deploying the postgresql database.

Postgresql support many modes, so adjust to your infrastructure.

1 Like