File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -908,6 +908,10 @@ const internalCertificate = {
908
908
mainCmd = 'AWS_CONFIG_FILE=\'' + credentialsLocation + '\' ' + mainCmd ;
909
909
}
910
910
911
+ if ( certificate . meta . dns_provider === 'duckdns' ) {
912
+ mainCmd = mainCmd + ' --dns-duckdns-no-txt-restore' ;
913
+ }
914
+
911
915
logger . info ( 'Command:' , `${ credentialsCmd } && ${ prepareCmd } && ${ mainCmd } ` ) ;
912
916
913
917
return utils . exec ( credentialsCmd )
@@ -1012,7 +1016,7 @@ const internalCertificate = {
1012
1016
1013
1017
logger . info ( `Renewing Let'sEncrypt certificates via ${ dns_plugin . display_name } for Cert #${ certificate . id } : ${ certificate . domain_names . join ( ', ' ) } ` ) ;
1014
1018
1015
- let mainCmd = certbotCommand + ' renew ' +
1019
+ let mainCmd = certbotCommand + ' renew --force-renewal ' +
1016
1020
'--config "' + letsencryptConfig + '" ' +
1017
1021
'--work-dir "/tmp/letsencrypt-lib" ' +
1018
1022
'--logs-dir "/tmp/letsencrypt-log" ' +
You can’t perform that action at this time.
0 commit comments