This seems to work:
I added in the script dehydrated
export http_proxy=http://ip-of-the-proxy:port-of-the-proxy, and
export https_proxy=http://ip-of-the-proxy:port-of-the-proxy
i.e.
export http_proxy=http://192.168.92.100:3128 and
export https_proxy=http://192.168.92.100:3128
the result of
# dehydrated -c -x is
# INFO: Using main config file /etc/dehydrated/config
Processing ivbonline.de with alternative names: mail.xxx.de saturn.xxx.de
www.xxx.de + Checking domain name(s) of existing cert... unchanged.
+ Checking expire date of existing cert...
+ Valid till Dec 31 08:26:36 2017 GMT (Longer than 30 days). Ignoring because renew was forced!
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting challenge for xxx.de...
+ Already validated!
+ Requesting challenge for mail.xxx.de...
+ Already validated!
+ Requesting challenge for saturn.xxx.de...
+ Already validated!
+ Requesting challenge for
www.xxx.de...
+ Already validated!
+ Requesting certificate...
+ Checking certificate...
+ Done!
+ Creating fullchain.pem...
Set up modSSL db keys
Signal events
All complete
+ Done!
I'll template this and it should be alright.
edit: is there a way to template a bash sript?
regards,
stefan