mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-22 18:20:09 +08:00
Updated How to install (markdown)
parent
2ef5344e3b
commit
c7a59864f4
@ -2,37 +2,37 @@ _`# Update your Linux repo with latest CA bundle and patches from System Update
|
|||||||
|
|
||||||
## 1. Install from web: https://get.acme.sh
|
## 1. Install from web: https://get.acme.sh
|
||||||
|
|
||||||
Install https://github.com/Neilpang/acme.sh
|
Install https://github.com/acmesh-official/acme.sh
|
||||||
|
|
||||||
```
|
```
|
||||||
curl https://get.acme.sh | sh
|
curl https://get.acme.sh | sh -s email=my@example.com
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
```
|
```
|
||||||
wget -O - https://get.acme.sh | sh
|
wget -O - https://get.acme.sh | sh -s email=my@example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2. Or, install from GitHub:
|
## 2. Or, install from GitHub:
|
||||||
|
|
||||||
```
|
```
|
||||||
curl https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh | INSTALLONLINE=1 sh
|
curl https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | sh -s -- --install-online -m my@example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
or:
|
or:
|
||||||
```
|
```
|
||||||
wget -O - https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh | INSTALLONLINE=1 sh
|
wget -O - https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | sh -s -- --install-online -m my@example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## 3. Or, git clone and install:
|
## 3. Or, git clone and install:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/Neilpang/acme.sh.git
|
git clone https://github.com/acmesh-official/acme.sh.git
|
||||||
cd acme.sh
|
cd acme.sh
|
||||||
./acme.sh --install
|
./acme.sh --install -m my@example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ cd acme.sh
|
|||||||
--home ~/myacme \
|
--home ~/myacme \
|
||||||
--config-home ~/myacme/data \
|
--config-home ~/myacme/data \
|
||||||
--cert-home ~/mycerts \
|
--cert-home ~/mycerts \
|
||||||
--accountemail "my@example.com" \
|
--m "my@example.com" \
|
||||||
--accountkey ~/myaccount.key \
|
--accountkey ~/myaccount.key \
|
||||||
--accountconf ~/myaccount.conf \
|
--accountconf ~/myaccount.conf \
|
||||||
--useragent "this is my client."
|
--useragent "this is my client."
|
||||||
@ -58,8 +58,8 @@ Explanations :
|
|||||||
- `--home` is a customized dir to install `acme.sh` in. By default, it installs into `~/.acme.sh`
|
- `--home` is a customized dir to install `acme.sh` in. By default, it installs into `~/.acme.sh`
|
||||||
- `--config-home` is a writable folder, acme.sh will write all the files(including cert/keys, configs) there. By default, it's in `--home`
|
- `--config-home` is a writable folder, acme.sh will write all the files(including cert/keys, configs) there. By default, it's in `--home`
|
||||||
- `--cert-home` is a customized dir to save the certs you issue. By default, it's saved in `--config-home`.
|
- `--cert-home` is a customized dir to save the certs you issue. By default, it's saved in `--config-home`.
|
||||||
- `--accountemail` is the email used to register account to Let's Encrypt, you will receive renewal notice email here. Default is empty.
|
- `--m` is the email used to register an account to Let's Encrypt, you will receive a renewal notice email here. Default is empty.
|
||||||
- `--accountkey` is the file saving your account private key. By default it's saved in `--config-home`.
|
- `--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.
|
- `--user-agent` is the user-agent header value used to send to Let's Encrypt.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user