Search
⌃K

Make Let's Encrypt certificate

This tutorial will explain how to create let's encrypt certificate for your custom domain name and use it on TLS tunnel.
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 www.xtestgo.xyz

2. Start TLS tunnel

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