Nicolas Duchon
3d1ee4ee0b
Use a pregenerated dhparam.pem for tests
...
Letting the LE container generate its 2048 bits dhparam can consume up
to five minutes.
2018-03-25 13:14:23 +02:00
Nicolas Duchon
c6eead0b44
Add expected-std-out files
2018-03-25 13:14:23 +02:00
Nicolas Duchon
e988e4f4fe
Use Docker official image test suite
2018-03-25 13:14:23 +02:00
Nicolas Duchon
b614ebb30e
Merge pull request #335 from thomaco/patch-1
...
Add ^~ to location directive
2018-03-25 12:51:19 +02:00
Nicolas Duchon
36ff7ddb53
Merge pull request #352 from JrCs/dev
...
Fix unwanted custom cert removal #351
v1.8.1
2018-03-19 20:07:36 +01:00
Nicolas Duchon
4cdde050ad
Fix unwanted custom cert removal #351
2018-03-19 19:37:02 +01:00
Nicolas Duchon
9d50fc0ad1
Merge pull request #334 from JrCs/dev
...
Merge dev into master (v1.8)
v1.8
2018-03-17 16:45:05 +01:00
Nicolas Duchon
d606704119
Fix the link creation functions
...
The source/target order of create_link() has been
made the same as ln to avoid confusions.
The function also no longer skip link creation based
solely on target existence but check that the target
links to the required source.
2018-03-16 18:41:14 +01:00
Nicolas Duchon
fa837ba143
Add cert_status script
...
Displays useful informations about the existing certificates.
2018-03-16 18:34:27 +01:00
Nicolas Duchon
0312525a27
Separate prod and test certs instead of overwriting
2018-03-16 18:34:27 +01:00
Nicolas Duchon
810a6cd27c
Don't symlink certs if simp_le errored
2018-03-16 18:34:27 +01:00
Nicolas Duchon
40a4d9ce2f
Do not remove old CN domains
...
They're not symlinked to anyway, and removing
unused but valid certificates has no benefits.
2018-03-16 18:34:27 +01:00
Nicolas Duchon
16f0222532
Additional check for docker-gen
2018-03-16 18:34:26 +01:00
Nicolas Duchon
866dda12b9
Rework nginx-proxy and docker-gen cid acquisition
...
Make #321 work with three containers setups too.
2018-03-16 18:34:26 +01:00
Nicolas Duchon
3b212f2bf3
Minor edits for coding style consistency
2018-03-16 18:34:26 +01:00
Nicolas Duchon
4b2b4429a4
Cleanup symlinks to non SSL enabled domains
2018-03-16 18:34:26 +01:00
Thomas Oddsund
57727341a6
Added ^~ to location directive
2018-02-20 20:55:48 +01:00
Nicolas Duchon
9570237c1b
Update docker-gen to 0.7.4
2018-02-19 12:43:37 +01:00
Nicolas Duchon
400a7da28c
Update simp_le to 0.7.0
...
This version implicitly and automatically agree to the ACME CA ToS.
The code related to the ToS hash was consequently removed.
2018-02-19 12:43:36 +01:00
Nicolas Duchon
3af5ae8b16
Change ambiguous variable and function names
2018-02-19 12:43:34 +01:00
Nicolas Duchon
cf77c7ea02
Merge pull request #251 from XPLOT1ON/DH_PARAM_OVERRIDE
...
Add ability to override default DHPARAM_BITS of 2048
2018-02-18 19:07:47 +01:00
Pan Teparak
cf6e2357be
Update Readme to reflect change
2018-02-10 10:03:23 +01:00
Pan Teparak
e8cc09db04
Add ability to override default DH_PARAM_SIZE
2018-02-10 10:03:14 +01:00
Nicolas Duchon
f1d8ab1faa
Merge pull request #328 from sidewaysgravity/patch-1
...
Fix log typo when checking writable directories
2018-02-10 09:39:05 +01:00
Jason Bailey
1e81aa6aca
Fix log typo when checking writable directories
2018-02-09 17:11:24 -06:00
Nicolas Duchon
6a2dcbcdc9
Merge pull request #321 from SmotrovaLilit/master
...
Log error if nginx-proxy is not run
2018-02-01 12:33:09 +01:00
Lilit
4c51c2d51c
Log error if nginx-proxy is not running
2018-02-01 14:23:54 +03:00
myoung34
da5cc2becf
Modify to work with AWS ECS ( #300 )
...
+ add foundation for future support of other container management services
2018-01-14 21:45:17 +01:00
Nicolas Duchon
e6db45e24c
Merge pull request #314 from JrCs/dev
...
Merge dev into master
v1.7
2018-01-01 10:59:39 +01:00
Nicolas Duchon
d27d4cff9d
Update image to Alpine 3.7
2017-12-30 09:30:27 +01:00
Nicolas Duchon
6c6f131f6c
Set container clean exit code to 0
2017-12-30 09:28:43 +01:00
Nicolas Duchon
75137c6a6c
Merge pull request #312 from fspc/master
...
fixes #311 by making account_key_dir into a relative link.
2017-12-30 09:24:16 +01:00
Jonathan Rosenbaum
3c34f99ccd
fixes #311 by making account_key_dir into a relative link.
2017-12-30 03:57:16 +00:00
Nicolas Duchon
81c32254e8
Merge pull request #298 from JrCs/dev
...
Merge dev into master
2017-12-08 21:45:34 +01:00
Nicolas Duchon
3c35d72ae1
Update and clarify documentation
2017-12-07 14:28:20 +01:00
Nicolas Duchon
1bb6e861bf
Don't pass --email to simp_le if no address is set
...
Prevents issues similar to #263
2017-12-07 14:24:08 +01:00
Nicolas Duchon
065c387d24
Treat use of LE staging API like test cert
...
This make the container behave exactly the same wether test certificates
are requested with the LETSENCRYPT_TEST env var or by setting ACME_CA_URI
to the Let's Encrypt stating API endpoint.
2017-12-07 13:48:58 +01:00
Nicolas Duchon
63403f7ec4
Change REUSE_KEY to REUSE_PRIVATE_KEYS
...
REUSE_KEY might be confusing now that there is a REUSE_ACCOUNT_KEYS env var
2017-12-07 13:36:49 +01:00
Nicolas Duchon
9ecde384bb
Small README.md edits
...
Replace Docker version badge with GitHub release.
2017-12-07 13:24:57 +01:00
Nicolas Duchon
7f66758f01
Improve handling of ACME account keys
...
This commit enable the two strategies outlined on
https://letsencrypt.org/docs/integration-guide/
under the "One Account or Many?" paragraph, with
the single account key being the default.
2017-12-07 13:24:57 +01:00
Nicolas Duchon
bc88204a2d
Merge pull request #297 from JrCs/doc-separate
...
Do not tag separate containers as recommended
2017-12-07 13:23:30 +01:00
Nicolas Duchon
00c558186b
Do not tag separate containers as recommended
...
Peoples seems to often run into misconfiguration issues with this method.
2017-12-05 20:49:13 +01:00
Nicolas Duchon
405cffa64d
Merge pull request #292 from michaelsmithson/master
...
Correct typo in parameter documentation
2017-12-04 09:19:43 +01:00
Michael Smithson
e7bca40f3c
Correct typo in parameter documentation
2017-12-04 20:41:52 +13:00
Nicolas Duchon
92ca57211b
Merge pull request #289 from JrCs/fix-unsecure-rm
...
Fix endless loops caused by empty domains
2017-11-24 14:39:54 +01:00
Nicolas Duchon
4085f64c46
Fix trimming on the docker-gen template
...
Incorrect trimming did lead to empty domains being created on space separated domains
or with comma trailed LETSENCRYPT_HOST environment variable. This in turns led to the
container being caught in an endless loop trying to delete /etc/nginx/certs #254 #288
2017-11-24 14:23:19 +01:00
Nicolas Duchon
8bc51778b5
Do not rm -rf with a trailing empty var
2017-11-24 14:23:19 +01:00
Nicolas Duchon
cb40686fca
Merge pull request #287 from JrCs/dev
...
Update base image to Alpine 3.6
2017-11-23 21:08:32 +01:00
Nicolas Duchon
f7436f7f37
Update Alpine base image to 3.6
...
The dockerfile was also streamlined.
Two unneeded -already in Alpine- packages (procps and tar) were removed.
The MAINTAINER statment has been deprecated in favor of the maintainer LABEL.
2017-11-22 23:19:51 +01:00
Nicolas Duchon
a9c91da07e
Fix update_certs for busybox pkill
...
As of Alpine 3.4 the procps package does not provide pkill.
Busybox's pkill usage is slightly different.
2017-11-22 22:48:42 +01:00