It seems like as of v3.0.0 DB_SSL_ROOT_CERT is no longer being used anywhere to construct the connection string, and it results in errors such as:
{"level":"fatal","error":"querying server version tls: failed to verify certificate: x509: certificate signed by unknown authority","time":"2024-09-14T15:01:47-04:00","message":"error running auto migration"}
when attempting to upgrade to v3.0.0 with DB_SSL=verify-full.
It looks like this is what the connection string was when it was previously working in v2.3.2:
internal/database/database.go
DB SSL functionality has been restored in https://github.com/Zibbp/ganymede/pull/508. You can use it now with the :dev image of the API container. Let me know if you have any issues with it.
It seems like as of v3.0.0 DB_SSL_ROOT_CERT is no longer being used anywhere to construct the connection string, and it results in errors such as:
when attempting to upgrade to v3.0.0 with
DB_SSL=verify-full
.It looks like this is what the connection string was when it was previously working in v2.3.2:
internal/database/database.go
What it looks like now:
internal/server/server.go
cmd/worker/main.go