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.
loclx domain letsencrypt --domain www.xtestgo.xyz
loclx tunnel tls --reserved-domain www.xtestgo.xyz --crt /home/localxpose/www.xtestgo.xyz-cert.pem --key /home/localxpose/www.xtestgo.xyz-key.pem
Go to our secure tunnel