|
@@ -5,10 +5,19 @@
|
5
|
5
|
* If the error “Peer's Certificate issuer is not recognized” occurs, use the following parameter:
|
6
|
6
|
|
7
|
7
|
```
|
8
|
|
-git -c http.sslVerify=false clone https://develop.qbpro.ru/master/autocertbot.git
|
|
8
|
+git -c http.sslVerify=false clone https://develop.qbpro.ru/master/auto4certbot.git
|
9
|
9
|
```
|
10
|
10
|
|
11
|
|
-* begin edit avto4certbot.conf
|
|
11
|
+* Install:
|
|
12
|
+```
|
|
13
|
+git clone https://develop.qbpro.ru/master/auto4certbot.git
|
|
14
|
+cd ~/auto4certbot/src
|
|
15
|
+mkdir -p /etc/auto4certbot
|
|
16
|
+cp * /etc/auto4certbot/
|
|
17
|
+```
|
|
18
|
+* edit avto4certbot.conf
|
|
19
|
+* To check the operation, run the script without parameters, it will install the necessary packages or tell you what needs to be installed.
|
|
20
|
+* if everything is installed, the answer will be:
|
12
|
21
|
|
13
|
22
|
```
|
14
|
23
|
please input pameters: avto4certbot.sh --create [apache & nginx && proxy]| --update [apache & nginx] | --flist [apache & nginx]
|
|
@@ -23,6 +32,7 @@ avto4certbot.sh --help; this help
|
23
|
32
|
or
|
24
|
33
|
avtocertbot.sh --update apache proxy
|
25
|
34
|
```
|
|
35
|
+* Use the --create [apache or nginx] parameter to create the first certificate.
|
26
|
36
|
|
27
|
37
|
* example crontab:
|
28
|
38
|
|