Get a free secure address
The Tesla browser plays smooth video only on an https address. WebMirror can set one up for free, on the phone, in about two minutes.
Why https matters
Over plain http://169.254.77.1:8080 the car browser has no WebCodecs, so WebMirror falls back to JPEG pictures at about 10 to 15 fps. For smooth video the page must open over https with a certificate the browser trusts.
You need a free DuckDNS account. You can sign in with Google, GitHub or similar.
Get a certificate in the app
Open WebMirror, go to Settings, Secure connection (HTTPS), and tap Get a free certificate. You can also tap "Secure address" in the Setup checklist on Home.
- Create your free address. Tap "Open duckdns.org" and sign in. In "sub domain" type a name, for example
mycar-mirror, then tap "add domain". You do not need to change "current ip": the app sets it. Your address will be<name>.duckdns.org. Already have a DuckDNS name? Skip this step. - Copy your token. It is shown at the top of the DuckDNS page after you sign in. In the app, enter your DuckDNS name and paste the token. "Paste" reads the clipboard and "Show" reveals it.
- Agree to the Let's Encrypt terms. Tick "I agree to the Let's Encrypt Subscriber Agreement". Let's Encrypt is a free, non-profit certificate authority.
- Tap Get certificate. The app shows its progress and takes about one to two minutes. Keep the app open. You can cancel at any time.
When it is done, the app shows the address to open in the car, https://<name>.duckdns.org:8443, with a QR code. Type https:// and the port :8443. Port 8080 is plain http.
Renewal
The certificate renews by itself. The app checks every 12 hours and when it starts, and renews when less than a third of the lifetime is left. "Renew now" renews at once.
If a renewal fails and less than 14 days remain, you get the notification "WebMirror could not renew your HTTPS certificate". Open the app, check the error and tap "Renew now". Renewal needs the phone to be online at some point in the last weeks.
To change the name or the token, use "Change name or token". Leave the token field empty to keep the saved one. "Turn off automatic certificate" forgets your token and the account key and removes the certificate.
How it works
- The name
<your-name>.duckdns.orgpoints to the phone's virtual address (169.254.77.1by default). - Let's Encrypt checks that you own the name through a DNS record. No open ports and no server are needed.
- The certificate and its key stay on the phone. They are never put in the app.
- Your DuckDNS name and token are stored only on the phone. The token and the account key are encrypted with a key in the Android Keystore.
- The app talks to DuckDNS, Let's Encrypt and Cloudflare DNS only while getting or renewing the certificate. Nothing is sent to the app author.
If something fails
- DuckDNS refused: check the name and copy the token again.
- Rate limit: Let's Encrypt allows only a few certificates per week. Wait and try again.
- Network problem: check mobile data or Wi-Fi.
- Rejected or timeout: the message says why. Try again in a few minutes.
- The name does not open in the car: some routers and DNS resolvers block names that point to private or link-local addresses ("DNS rebinding protection"). See troubleshooting.
Prefer to do it by hand?
You can make the certificate on a computer with acme.sh and import the .p12 file in the app. The full guide on GitHub covers it step by step.