Originally created by @BastienDurel on GitHub (Dec 22, 2016).
Hello,
When a challenge is in state "valid", the validation loop is skipped, and variables are not initialized, therefore the script crashes :
# INFO: Using main config file /root/letsencrypt.sh/config
Processing vm1.xxx.fr
+ Signing domains...
+ Creating new directory /root/letsencrypt.sh/certs/vm1.xxx.fr ...
+ Generating private key...
+ Generating signing request...
+ Requesting challenge for vm1.xxx.fr...
+ Already validated
./dehydrated: line 515: deploy_args: unbound variable
commenting the continue at line 476 makes it working, but I'm not sure it's the best solution (but I'm not a bash expert ;))
# INFO: Using main config file /root/letsencrypt.sh/config
Processing vm1.xxx.fr
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting challenge for vm1.xxx.fr...
+ Already validated
+ Responding to challenge for vm1.xxx.fr...
+ Challenge is valid!
+ Requesting certificate...
+ Checking certificate...
+ Done!
+ Creating fullchain.pem...
+ Done!
Originally created by @BastienDurel on GitHub (Dec 22, 2016).
Hello,
When a challenge is in state "valid", the validation loop is skipped, and variables are not initialized, therefore the script crashes :
```root@magento-1:~/letsencrypt.sh# ./dehydrated -c
# INFO: Using main config file /root/letsencrypt.sh/config
Processing vm1.xxx.fr
+ Signing domains...
+ Creating new directory /root/letsencrypt.sh/certs/vm1.xxx.fr ...
+ Generating private key...
+ Generating signing request...
+ Requesting challenge for vm1.xxx.fr...
+ Already validated
./dehydrated: line 515: deploy_args: unbound variable
```
commenting the `continue` at line 476 makes it working, but I'm not sure it's the best solution (but I'm not a bash expert ;))
```root@magento-1:~/letsencrypt.sh# ./dehydrated -c
# INFO: Using main config file /root/letsencrypt.sh/config
Processing vm1.xxx.fr
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting challenge for vm1.xxx.fr...
+ Already validated
+ Responding to challenge for vm1.xxx.fr...
+ Challenge is valid!
+ Requesting certificate...
+ Checking certificate...
+ Done!
+ Creating fullchain.pem...
+ Done!
```
Commenting the "continue" line would completely disable the feature to skip already validated domains, I'm working on a fix right now.
@lukas2511 commented on GitHub (Dec 22, 2016):
Commenting the "continue" line would completely disable the feature to skip already validated domains, I'm working on a fix right now.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @BastienDurel on GitHub (Dec 22, 2016).
Hello,
When a challenge is in state "valid", the validation loop is skipped, and variables are not initialized, therefore the script crashes :
commenting the
continueat line 476 makes it working, but I'm not sure it's the best solution (but I'm not a bash expert ;))@lukas2511 commented on GitHub (Dec 22, 2016):
Commenting the "continue" line would completely disable the feature to skip already validated domains, I'm working on a fix right now.
@BastienDurel commented on GitHub (Dec 22, 2016):
I know this is disabling the functionality, It was not a proposed fix, only a workaround info