Skip to content

Instantly share code, notes, and snippets.

@milescsmith
Created June 27, 2023 18:59
Show Gist options
  • Select an option

  • Save milescsmith/58aed3d05ae343ea871fcda1fa71f285 to your computer and use it in GitHub Desktop.

Select an option

Save milescsmith/58aed3d05ae343ea871fcda1fa71f285 to your computer and use it in GitHub Desktop.
Renew ssl certificates for HALO

To renew the certificates for the HALO Link server

  • You first need to find and then kill whatever is currently using port 80

    netstat -ano | findstr :80
    

In the far right column, there should be a 2-4 digit number. Make a note of that.

  • Run the command:

    taskkill /PID PROCESSNUMBER /F
    
  • Run certbot. Use the command

    certbot certonly -d subdomain.domain.tld --standalone
    

    If you receive a message such as "You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry." selection option 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment