Certificates
LocalCan creates a root Certificate Authority when you install it, and uses it to issue the server certificates that make HTTPS work on your local domains.
To get HTTPS without browser warnings, trust the root CA once. Every server certificate LocalCan generates is signed by it, so trusting the root makes all of them trusted too.
Trusting the root certificate
On the machine running LocalCan:
- In LocalCan, open the Root certificate section in the sidebar.
- Open the three-dots menu and click Trust.
- Follow the prompts to add the root CA to your trusted authorities.
Once trusted, any certificate LocalCan generates is recognized on that machine.
Other devices and the iOS simulator
To trust the root CA elsewhere, download it first:
- In LocalCan, open the Root certificate section in the sidebar.
- Open the three-dots menu and click Download, then save the file.
- iOS simulator: drag the file onto the simulator window and follow the prompts to install it.
- iPhone or iPad: AirDrop the file to the device and follow the prompts to install it.
This lets you test your app over HTTPS across devices and simulators.
Server certificates
LocalCan generates a server certificate automatically when you add a domain. Each one is wildcard, valid for the apex domain and all its subdomains, so myapp.local, api.myapp.local, and www.myapp.local are all covered. You can download it from the domain list.
The reverse proxy on port 443 uses these certificates to serve HTTPS. For a domain-only setup, where there is no proxy, add the server certificate to your own server if you want it to serve HTTPS, for example when NGINX handles TLS termination in your development setup.
© 2026 LocalCan™. All rights reserved.