Creating Let's Encrypt certificate mostly needed only when you want to use TLS tunnel, HTTP tunnel will automatically generate the certificate for you and handle the renewal too.

Suppose we have a custom domain name, configured and ready to use with localxpose (see previous tutorial ), now it is time to secure it with let's encrypt TLS certificate.

1. Create let's encrypt TLS certificate

loclx domain letsencrypt --domain

2. Start TLS tunnel

loclx tunnel tls --reserved-domain --crt /home/localxpose/ --key /home/localxpose/

Go to our secure tunnel

© xLab 2023. All Rights Reserved