Self-hosted traccar server HTTPS modification

majogl10 days 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 Tananaev10 days 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.

Kaldek6 days ago

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

Andyw3 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