[le_lan] Make sure we log off to update certs on mikrotik
Or somehow the whole thing does not complete successfully.
This commit is contained in:
parent
f73bc401ff
commit
da5c1e6eaa
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ ssh mikrotik -T <<EOF
|
|||
/certificate import file-name=privkey.pem passphrase=""
|
||||
/file remove fullchain.pem
|
||||
/file remove privkey.pem
|
||||
EOF
|
||||
|
||||
# Do it twice or somehow the installation of the certificates goes wonky
|
||||
ssh mikrotik -T <<EOF
|
||||
/ip service set www-ssl certificate=fullchain.pem_0
|
||||
/ip service set api-ssl certificate=fullchain.pem_0
|
||||
EOF
|
||||
|
|
Loading…
Add table
Reference in a new issue