Commit Graph

62 Commits

Author SHA1 Message Date
Jamie Cameron
0b440e8fc5 Always update contact email 2020-02-18 17:07:41 -08:00
Jamie Cameron
9639e29a63 Path may be under /usr/local/etc https://sourceforge.net/p/webadmin/bugs/5353/ 2020-01-18 16:39:41 -08:00
Jamie Cameron
a10c475218 In non-interactive mode, a flag is needed to accept the TOS 2020-01-12 18:38:21 -08:00
Jamie Cameron
b6dfa03e3c Merge branch 'master' of github.com:webmin/webmin 2020-01-10 09:54:45 -08:00
Jamie Cameron
12ab7cc722 Force non-interactive mode, as we can't prompt for questions 2020-01-10 09:53:19 -08:00
Jamie Cameron
6382bc8f7e Wildcard cert paths contain a * 2020-01-09 17:00:13 -08:00
Ilia Rostovtsev
fdde4f23a2 Fix to emphasize command name 2020-01-04 13:01:31 +03:00
Jamie Cameron
15c0e96acb Bring back built-in let's encrypt client 2020-01-01 20:12:02 -08:00
Jamie Cameron
81b7cb0609 Stop using acme_tiny in favor of certbot 2019-11-27 22:38:27 -08:00
mzglinski
e71c17ced7 Change --keep-until-expiring to --force-renewal 2019-09-06 11:35:57 +02:00
mzglinski
5691042e1a Fix renewal error 2019-09-03 10:58:02 +02:00
Jamie Cameron
8d874344a1 Use a consistent certificate name https://www.virtualmin.com/node/65664 2019-07-15 18:54:45 -07:00
Joe Cooper
a7cb3d2eda call it certbot rather than native client 2018-12-26 21:03:17 -06:00
Jamie Cameron
a688431a7f Work on wildcard cert support 2018-11-10 12:04:31 -08:00
Jamie Cameron
8c2e61faae Gracefully handle failure to download a chained cert https://www.virtualmin.com/node/56871 2018-04-19 17:57:38 -07:00
Jamie Cameron
d271944f41 remove debug message 2018-03-17 23:58:23 -07:00
Jamie Cameron
2f7b7b9f6c cleanup any lets-encrypt directories that were created as part of a cert request https://www.virtualmin.com/node/56353 2018-03-11 15:34:31 -07:00
Jamie Cameron
ab98578e74 Clear any environment variables that might break DNS hooks 2018-01-07 14:20:55 -08:00
Jamie Cameron
c7980e956a Cleanup environment before running certbot 2017-12-22 15:05:07 -08:00
Jamie Cameron
dfee760887 Suppress informational messages when requesting a cert 2017-11-22 08:50:06 -08:00
Jamie Cameron
2a6f16fbdb If acme_tiny outputs a python stack trace, chop it off 2017-11-22 08:45:05 -08:00
Jamie Cameron
f7cbceadab Stop searching for domains if we get to 'com' or similar 2017-10-29 20:06:31 -07:00
Jamie Cameron
a79e360346 Check for suitable python version 2017-09-25 16:54:13 -07:00
Jamie Cameron
b4ada44f45 Factor out DNS zone finding code, and deal with multiple levels of subdomains https://www.virtualmin.com/node/53438 2017-09-06 16:41:54 -07:00
Jamie Cameron
5d1f322c9b Make error message clearer 2017-09-06 16:28:24 -07:00
Jamie Cameron
23873a5c2b Ensure that the most recent cert file is used 2017-06-04 14:36:34 -07:00
Jamie Cameron
122c573f94 Also try common cert locations 2017-06-02 16:41:17 -07:00
Jamie Cameron
675e9ec513 Remove comment 2017-05-24 16:14:55 -07:00
Jamie Cameron
2312f3379d DNS validation support in acme_tiny via hook script 2017-02-05 13:18:34 -08:00
Jamie Cameron
88d914721b Some older Apache versionsdon't support AuthType https://www.virtualmin.com/node/45842 2017-02-05 10:25:57 -08:00
Jamie Cameron
e078bbc930 Detect if a zero-sized cert was created https://www.virtualmin.com/node/45801 2017-02-01 10:10:31 -08:00
Jamie Cameron
b45191de98 Fixes to get DNS validation integration with certbot working 2017-01-31 17:42:29 -08:00
Jamie Cameron
ca79327451 Work on DNS-based validation for let's encrypt 2017-01-31 15:44:38 -08:00
Jamie Cameron
6551501b7e Ensure apache access to the well-known directory 2017-01-02 18:11:18 -08:00
Jamie Cameron
c8ef4468c3 Stop including the X1 let's encrypt cert https://www.virtualmin.com/node/43460 2016-11-11 18:46:43 -08:00
Jamie Cameron
42157fdfed Default to using the built-in lets encrypt client, because the official client has an unreliable output format 2016-10-09 10:44:14 -07:00
Tim Allingham
a04eb85879 increase specificity of regex to avoid problems with new output from certbot/letsencrypt client 2016-10-09 21:00:12 +11:00
Jamie Cameron
7208412de2 let's encrypt output can be a symlink, so always de-reference it https://www.virtualmin.com/node/42419 2016-09-29 16:28:54 -07:00
Jamie Cameron
dc69374aaa let's encrypt cert size option 2016-09-11 09:49:18 -07:00
Jamie Cameron
00bd87ae86 Download all the Let's Encrypt CA files 2016-08-27 09:07:21 -07:00
Jamie Cameron
7fe32a5dce Request a 2048-bit key from let's encrypt 2016-06-07 21:49:29 -07:00
Jamie Cameron
31bd465921 Path might be broken immediately after /etc 2016-05-21 10:53:42 -07:00
Jamie Cameron
cf1b514976 Let's Encrypt cert path may be split across multiple lines, but will always be under /etc 2016-05-17 04:44:07 -07:00
Jamie Cameron
ce698f5bae acme_tiny can also work with Python 2.6 https://www.virtualmin.com/node/40076 2016-04-24 09:59:23 -07:00
Jamie Cameron
e27da435ff Use python27 command if installed https://www.virtualmin.com/node/40076 2016-04-23 15:07:43 -07:00
Jamie Cameron
452224a24d Make sure let's encrypt key, cert and chain aren't world readable 2016-04-08 16:55:45 -07:00
Jamie Cameron
475870db79 Let's Encrypt chained cert has changed 2016-04-05 22:39:16 -07:00
Jamie Cameron
915b6ec224 PEM file path can be wrapped https://www.virtualmin.com/node/40240 2016-04-03 14:34:10 -07:00
Jamie Cameron
63830dd456 If command set does't exist, don't use it 2016-03-22 22:08:34 -07:00
Jamie Cameron
d4b401e913 Handle case with no output 2016-03-22 22:01:32 -07:00