26K1 #8
30
cert/README.md
Normal file
30
cert/README.md
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# Local host
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo cert/clientRenew
|
||||||
|
```
|
||||||
|
|
||||||
|
When the certbot script asks you to provide verification, go to remote host
|
||||||
|
|
||||||
|
# Remote host
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo cert/vpsRenew ACME_FILE ACME_VALUE
|
||||||
|
```
|
||||||
|
|
||||||
|
The script waits for Return key, now go to local host and press Return
|
||||||
|
to let certbot generate certificate and key
|
||||||
|
|
||||||
|
# Local host
|
||||||
|
|
||||||
|
Press Return
|
||||||
|
|
||||||
|
# Remote host
|
||||||
|
|
||||||
|
Press Return
|
||||||
|
|
||||||
|
# Local to remote
|
||||||
|
|
||||||
|
Copy certificate and key to the remove host
|
||||||
|
|
||||||
|
Restart Nginx
|
||||||
@@ -12,5 +12,6 @@ rsync -aivc --delete $DBG_DIR/ $DST_DIR
|
|||||||
# Symlink
|
# Symlink
|
||||||
cd $DST_DIR
|
cd $DST_DIR
|
||||||
ln -s ../cbr
|
ln -s ../cbr
|
||||||
|
ln -s ../cv
|
||||||
ln -s ../dbg
|
ln -s ../dbg
|
||||||
ln -s ../vid
|
ln -s ../vid
|
||||||
|
|||||||
Reference in New Issue
Block a user