From 3dc47e3cbc081294ae357adf0ffeefb0275e3e55 Mon Sep 17 00:00:00 2001 From: Maddes Date: Fri, 19 Apr 2024 21:42:09 +0200 Subject: [PATCH] Add contribution of converting certbot's LE account data to acme.sh format --- How-to-install.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/How-to-install.md b/How-to-install.md index 6bb74b8..d7ceb6e 100644 --- a/How-to-install.md +++ b/How-to-install.md @@ -1,7 +1,8 @@ -> Update your Linux repo with latest CA bundle and patches from System Update else some issues will occur when generating your free SSL. Once Completed then begin the below procedure -- > you can run -if centos: -`yum update ca-certificates` +Update the Linux/BSD system with latest CA bundle and patches from System Update otherwise some issues may occur when generating your free SSL certificates. +Once completed begin with the install procedure below. +- CentOs: `yum update ca-certificates` +- Debian: `apt update ; apt install ca-certificates` (updates package if already installed) \ + also applies to Debian-based distros like Ubuntu, LinuxMint, etc. ## 1. Install from web: https://get.acme.sh @@ -63,4 +64,10 @@ Explanations : - `--accountemail` is the email used to register an account to Let's Encrypt, you will receive a renewal notice email here. - `--accountkey` is the file saving your account private key. By default, it's saved in `--config-home`. - `--useragent` is the user-agent header value used to send to Let's Encrypt. -- `--nocron` install acme.sh without cronjob \ No newline at end of file +- `--nocron` install acme.sh without cronjob + +## 5. Special case: Converting LE account data from certbot to acme.sh +If already using certbot, then there is the possiblity to convert its LE account data to acme.sh format. +See https://github.com/maddes-b/linux-stuff/tree/main/acme.sh . + +If re-using the LE account created from certbot, then it is recommended **not** to specify `-m/--email` during installation.