# Using Remote Database over SSL for Gitea

**URL:** <https://forum.gitea.com/t/using-remote-database-over-ssl-for-gitea/1673>\
**Category:** Install/Maintain/Configure\
**Created:** [November 21, 2019, 4:06am UTC](https://forum.gitea.com/t/using-remote-database-over-ssl-for-gitea/1673 "2019-11-21T04:06:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bagasme](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/bagasme/32/727_2.png) [@bagasme](https://forum.gitea.com/u/bagasme)\
**Post date:** [November 21, 2019, 4:06am UTC](https://forum.gitea.com/t/using-remote-database-over-ssl-for-gitea/1673/1 "2019-11-21T04:06:00Z")

</div>

Hello,

I’d like to set up Gitea instance, which will use remote PostgreSQL database. SSL will be used for connecting to the database.

Does Gitea supports remote database over SSL? How can I configure that?

Bagas

---

<div class="post-metadata">

**Author:** ![souvikkar89](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/souvikkar89/32/6484_2.png) [@souvikkar89](https://forum.gitea.com/u/souvikkar89)\
**Post date:** [December 6, 2024, 2:30pm UTC](https://forum.gitea.com/t/using-remote-database-over-ssl-for-gitea/1673/2 "2024-12-06T14:30:10Z")

</div>

I am looking for the same and I have tried few solutions also but no luck
