Skip to content

Instantly share code, notes, and snippets.

@rorymckinley
Created August 22, 2017 15:38
Show Gist options
  • Save rorymckinley/712a496394e6ecfe03685bd8288af343 to your computer and use it in GitHub Desktop.
Save rorymckinley/712a496394e6ecfe03685bd8288af343 to your computer and use it in GitHub Desktop.
Trying to get certs installed in a nominated directory
# I would like to have the certs created in /etc/letsencrypt/live/xxx,
# but instead they are created in /etc/letsencrypt/live/www.test.domain
sudo letsencrypt certonly --manual --expand --preferred-challenges dns --cert-path /etc/letsencrypt/live/xxx --key-path /etc/letsencrypt/live/xxx --fullchain-path /etc/letsencrypt/live/xxx --chain-path /etc/letsencrypt/live/xxx -d www.test.domain -d test.domain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment