File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ routeros_deploy() {
125125 _savedeployconf ROUTER_OS_PORT " $ROUTER_OS_PORT "
126126 _savedeployconf ROUTER_OS_SSH_CMD " $ROUTER_OS_SSH_CMD "
127127 _savedeployconf ROUTER_OS_SCP_CMD " $ROUTER_OS_SCP_CMD "
128- _savedeployconf ROUTER_OS_ADDITIONAL_SERVICES " $ROUTER_OS_ADDITIONAL_SERVICES "
128+ _savedeployconf ROUTER_OS_ADDITIONAL_SERVICES " $ROUTER_OS_ADDITIONAL_SERVICES " " base64 "
129129
130130 # push key to routeros
131131 if ! _scp_certificate " $_ckey " " $ROUTER_OS_USERNAME @$ROUTER_OS_HOST :$_cdomain .key" ; then
@@ -143,6 +143,7 @@ comment=\"generated by routeros deploy script in acme.sh\" \
143143source=\" /certificate remove [ find name=$_cdomain .cer_0 ];\
144144\n/certificate remove [ find name=$_cdomain .cer_1 ];\
145145\n/certificate remove [ find name=$_cdomain .cer_2 ];\
146+ \n/certificate remove [ find name=$_cdomain .cer_3 ];\
146147\ndelay 1;\
147148\n/certificate import file-name=\\\" $_cdomain .cer\\\" passphrase=\\\"\\\" ;\
148149\n/certificate import file-name=\\\" $_cdomain .key\\\" passphrase=\\\"\\\" ;\
You can’t perform that action at this time.
0 commit comments