Jump to content

A fresh guide to enable https and the let's encrypt cert on Linux


Recommended Posts

Posted

Hello.

 

I've recreated the lets encrypt certificate on Linux issuing the following commands on Ubuntu 24.04 :

 

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# sudo apt install python3 python3-ven
v libaugeas0

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# sudo python3 -m venv /opt/certbot/

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# sudo /opt/certbot/bin/pip install --
upgrade pip

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# sudo /opt/certbot/bin/pip install ce
rtbot certbot-apache

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# sudo ln -s /opt/certbot/bin/certbot
/usr/bin/certbot

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# sudo ln -s /opt/certbot/bin/certbot
/usr/bin/certbot

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# sudo certbot --apache

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# cd /etc/letsencrypt/live/ziomario.ns
0.it/

root@Z390-AORUS-PRO-DEST:/etc/letsencrypt/live/ziomario.ns0.it# openssl pkcs12 -export -in cert.pem
-inkey privkey.pem -certfile cert.pem -out emby.pfx

 

I hope that they are useful for someone...

 

Posted

Hi, thanks for sharing.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...