Free TLS Certificates with Let’s Encrypt
Microsoft Tunnel requires a TLS certificate that is trusted by the connecting clients. It doesn’t have to be publicly trusted – an internal PKI cert works fine, as long as you deploy the root CA chain to devices via an Microsoft Intune Trusted Certificate profile.
In a lab, that’s extra work you can skip. Let’s Encrypt is free, already trusted by every iOS and Android device, and you can have a cert issued in under 10 minutes.
Lab/testing use only. Let’s Encrypt certs expire after 90 days and with this approach renewal requires manual DNS interaction each time. Don’t use this approach in production. Use internal PKI or a commercial cert with automated renewal instead.
Prerequisites:
- A public DNS zone you control, with the ability to create/modify TXT records
- Sudo access on the Ubuntu Tunnel server
- Outbound internet access from the server (to reach Let’s Encrypt and apt repos)
- An email address for Let’s Encrypt expiry notifications





