File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4382,10 +4382,6 @@ issue() {
43824382 _alt_domains=" "
43834383 fi
43844384
4385- if [ " $_key_length " = " $NO_VALUE " ]; then
4386- _key_length=" "
4387- fi
4388-
43894385 if ! _on_before_issue " $_web_roots " " $_main_domain " " $_alt_domains " " $_pre_hook " " $_local_addr " ; then
43904386 _err " _on_before_issue."
43914387 return 1
@@ -5327,6 +5323,10 @@ renew() {
53275323 Le_PostHook=" $( _readdomainconf Le_PostHook) "
53285324 Le_RenewHook=" $( _readdomainconf Le_RenewHook) "
53295325 Le_Preferred_Chain=" $( _readdomainconf Le_Preferred_Chain) "
5326+ # when renew from an old version, the empty Le_Keylength means 2048
5327+ if [ -z " $Le_Keylength " ]; then
5328+ Le_Keylength=2048
5329+ fi
53305330 issue " $Le_Webroot " " $Le_Domain " " $Le_Alt " " $Le_Keylength " " $Le_RealCertPath " " $Le_RealKeyPath " " $Le_RealCACertPath " " $Le_ReloadCmd " " $Le_RealFullChainPath " " $Le_PreHook " " $Le_PostHook " " $Le_RenewHook " " $Le_LocalAddress " " $Le_ChallengeAlias " " $Le_Preferred_Chain " " $Le_Valid_From " " $Le_Valid_To "
53315331 res=" $? "
53325332 if [ " $res " != " 0" ]; then
@@ -7087,8 +7087,8 @@ _process() {
70877087 _altdomains=" $NO_VALUE "
70887088 _webroot=" "
70897089 _challenge_alias=" "
7090- _keylength=" "
7091- _accountkeylength=" "
7090+ _keylength=" $DEFAULT_DOMAIN_KEY_LENGTH "
7091+ _accountkeylength=" $DEFAULT_ACCOUNT_KEY_LENGTH "
70927092 _cert_file=" "
70937093 _key_file=" "
70947094 _ca_file=" "
You can’t perform that action at this time.
0 commit comments