Evi Vanoost
83fd1ab0ca
class.lescript.php: OpenSSL requires integer for key size. DB returns string. Cast string to integer
...
trusty.xml: All files in conf.d get automatically included causing the location to be out of place and nginx fails to start
cron_tasks.inc.http.30.nginx.php: Location directives should be included in a host, nginx doesn't have the concept of global location directives in the way apache does
2016-02-21 18:55:02 -05:00
Stefan Weil
50e7311390
Fix some typos in code comments
...
Most of them were found by codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-02-20 17:10:24 +01:00
Florian Aders
e621e02f92
Allow selecting new keysize, fixes #1594
...
Prepare database and cron for HSTS, refs #1593
Added option to re-use key and CSR for Let's Encrypt
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-19 17:35:44 +01:00
Daniel Reichelt
b071b8c2d9
LE: remove challenge file on failure, take #2 ;)
2016-02-19 14:44:23 +01:00
Daniel Reichelt
185178a91e
LE: whitespace fixes
...
- fix mixed indentations
- remove trailing whitespace
2016-02-19 14:44:22 +01:00
Florian Aders
9ca31c10ae
Only store accountkeys in production
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-19 12:27:17 +01:00
Florian Aders
9f54e60056
Answer all Let's Encrypt challenges via alias to a directory in Froxlor itself, enables us to answer challenges before the vhost is set, thx PrfDrDrStullenBr for the idea \(vhost - configs for most distributions untested\)
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-18 21:43:44 +01:00
Florian Aders
5151f50d49
Renamed "debugHandler" to "logger" to be more specific
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-18 20:47:47 +01:00
Florian Aders
9b08d67ea7
Remove challengefile if challenge fails, thx nachtgeist
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-18 20:40:41 +01:00
Florian Aders
ddaadf81d6
Temporarily deactivate ssl_redirect if a new Let's Encrypt certificate needs to be generated
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-16 14:31:07 +01:00
Florian Aders
ea2fa3be15
Changed CSR - request generation to 4096 bit
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-14 17:31:28 +01:00
Florian Aders
2472a52fed
Make some Let's encrypt settings configurable
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-03 17:21:48 +01:00
Florian Aders
1814407bfd
Throw exception if no challenges are returned at all
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-02 11:17:04 +01:00
Florian Aders
efc5f37850
Well, we need a new key if we don't havre one, not if we already have one
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-01 20:58:49 +01:00
Florian Aders
ba1181e8ff
Fixed inserting of certificate if it didn't exist yet and return textbased domainkey, not ressource
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-01 20:47:16 +01:00
Florian Aders
44d08d6aa9
Add let's encrypt to customer domain - GUI
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-30 13:59:34 +01:00
Florian Aders
e0e1085c73
Fix your SQL, dude
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-30 13:14:51 +01:00
Florian Aders
67df9dbf6b
Experiment with accountkeys per customer
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-30 13:06:42 +01:00
Florian Aders
2e7dd6f212
Changed comments to // to match the rest of Froxlor and made small improvements to the accountKey
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-30 10:56:08 +01:00
Florian Aders
ed2837f1db
Added linebreak to logmessage of class
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-29 16:59:00 +01:00
Florian Aders
d45e9e63e6
Fixed a few obvious bugs
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-29 16:52:58 +01:00
Florian Aders
4f0c1894a3
Initial version of let's encrypt renewal cron
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-29 14:29:30 +01:00