Skip to content

Instantly share code, notes, and snippets.

@void285
Created May 23, 2023 05:51
Show Gist options
  • Save void285/0c7b65f6e98cd5f156b4c2f9a155e62f to your computer and use it in GitHub Desktop.
Save void285/0c7b65f6e98cd5f156b4c2f9a155e62f to your computer and use it in GitHub Desktop.
After migrating letsencrypt to a new server, you may encounter with errors like "SSLCertificateFile: file '/etc/letsencrypt/live/example.com/fullchain.pem' does not exist or is empty", this script fix it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment