How to remove host's LE cert and release port 80?

moxfan

Member
Aug 28, 2013
57
3
8
Hi,

Made a silly mistake on my single public-IP machine when I ignored the requirements for installing a Let's Encrypt certificate on the host.

----
There are a few prerequisites to use Let’s Encrypt:
1. Port 80 of the node needs to be reachable from the internet.
2. There must be no other listener on port 80.
----

I need my port 80 back so I can forward it to an LXC container.

How do I remove the LE certificate AND release port 80?

Norman
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
699
74
28
How did you install the LE certificate? If with certbot it should be easy to remove:

Code:
certbot delete
 

moxfan

Member
Aug 28, 2013
57
3
8
How did you install the LE certificate? If with certbot it should be easy to remove:

Code:
certbot delete
Hi Oguz

I used the installation notes at https://pve.proxmox.com/wiki/Certificate_Management.

I have now deregistered my LE account and deleted the LE host certficate from the GUI.

But port 80 is still taken up / used by the host, which was a condition of installing LE (pls. see my original post). How can I now release port 80 so that it becomes available for IP forwarding to a webserver in an LXC container.

Norman
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
699
74
28
But port 80 is still taken up / used by the host, which was a condition of installing LE (pls. see my original post). How can I now release port 80 so that it becomes available for IP forwarding to a webserver in an LXC container.
What is running on port 80?

Try checking the output of

Code:
netstat -antlp
and the running processes.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!