Self-hosted traccar server HTTPS modification

majogla month ago

Greetings.
I would like all communication to and from the server to be encrypted. How can I modify the traccar server and frontend (and potentially the app as well) to use HTTPS instead of HTTP? I know about the proxy server tunnel solution, but I was wondering if it would be too much hassle to modify the code to use HTTPS natively.

Anton Tananaeva month ago

You can try to modify the code and let us know how it goes. Enabling HTTPS is not the difficult part. What's difficult is certificate issue, management and renewal.

Kaldeka month ago

Just use Cloudflare. If it's a small deployment it's free.

Andyw23 days ago

I use nginx as a reverse proxy. Works well and free and easy to setup. Only config change to Traccar is to listen on 127.0.0.1

mailetorrrent6 days ago

I use apache2 as reverse proxy, and setup subdomain traccar.example.org to point to localhost docker container.
No need to add https to every app, when you can solve the problem same way as with other software.