Skip to content

Instantly share code, notes, and snippets.

@stepankuzmin
Created September 26, 2019 08:09
Show Gist options
  • Save stepankuzmin/79306e470a756f6861f24e715255dce8 to your computer and use it in GitHub Desktop.
Save stepankuzmin/79306e470a756f6861f24e715255dce8 to your computer and use it in GitHub Desktop.
Selectel + Let’s Encrypt Certbot

Selectel + Let’s Encrypt Certbot

Manual issue certificate:

sudo certbot certonly \
	--agree-tos \
	--email [email protected] \
	--manual \
	-d domain.tld

Create .pem file with:

sudo cat \
	/etc/letsencrypt/live/domain.tld/privkey.pem \
	/etc/letsencrypt/live/domain.tld/fullchain.pem > \
	domain.tld.pem

Upload certificate at https://my.selectel.ru/storage/ssl

Renew

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