You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README_EN.md
+41-23Lines changed: 41 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,19 +16,37 @@ An automated SSL certificate deployment tool for downloading certificates from [
16
16
17
17
### 1. Install
18
18
19
-
Download the binary for your OS from [GitHub Releases](https://github.com/https-cert/deploy/releases):
19
+
For Linux/macOS, use the install script. It installs the latest version from [GitHub Releases](https://github.com/https-cert/deploy/releases) by default:
curl -fsSL https://raw.githubusercontent.com/https-cert/deploy/main/scripts/install.sh | sh
23
+
```
24
+
25
+
For servers with slow GitHub access, use a GitHub proxy:
26
+
27
+
```bash
28
+
curl -fsSL https://ghproxy.net/https://raw.githubusercontent.com/https-cert/deploy/main/scripts/install.sh | MIRROR=ghproxy sh
29
+
```
30
+
31
+
To pin a version or customize paths:
32
+
33
+
```bash
34
+
curl -fsSL https://raw.githubusercontent.com/https-cert/deploy/main/scripts/install.sh | VERSION=v0.6.0 APP_DIR=/opt/anssl sh
35
+
```
36
+
37
+
By default, anssl is installed into `/opt/anssl` and linked as `/usr/local/bin/anssl`. To uninstall:
38
+
39
+
```bash
40
+
# Remove the binary and keep config
41
+
curl -fsSL https://raw.githubusercontent.com/https-cert/deploy/main/scripts/install.sh | sh -s -- --uninstall
42
+
43
+
# Remove the binary and config
44
+
curl -fsSL https://raw.githubusercontent.com/https-cert/deploy/main/scripts/install.sh | sh -s -- --uninstall --purge
27
45
```
28
46
29
47
### 2. Configure
30
48
31
-
Release archives include a `config.yaml` template. On first install, edit the extracted `config.yaml` and set its `accessKey` and any deployment targets you want to enable.
49
+
The install script copies the packaged `config.yaml` template to `/opt/anssl/config.yaml` and never overwrites an existing config file. On first install, edit that file and set its `accessKey` and any deployment targets you want to enable.
32
50
33
51
For later updates, replace only the `anssl` executable to avoid overwriting an existing `config.yaml`.
0 commit comments