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

Discussion in 'Proxmox VE: Installation and configuration' started by moxfan, Feb 12, 2019.

  1. moxfan

    moxfan Member

    Joined:
    Aug 28, 2013
    Messages:
    55
    Likes Received:
    3
    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
     
  2. oguz

    oguz Proxmox Staff Member
    Staff Member

    Joined:
    Nov 19, 2018
    Messages:
    315
    Likes Received:
    26
    How did you install the LE certificate? If with certbot it should be easy to remove:

    Code:
    certbot delete
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. moxfan

    moxfan Member

    Joined:
    Aug 28, 2013
    Messages:
    55
    Likes Received:
    3
    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
     
  4. oguz

    oguz Proxmox Staff Member
    Staff Member

    Joined:
    Nov 19, 2018
    Messages:
    315
    Likes Received:
    26
    What is running on port 80?

    Try checking the output of

    Code:
    netstat -antlp
    
    and the running processes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice