Bug 15303 LE production server
authorMirko Tietgen <mirko@abunchofthings.net>
Sat, 16 Jan 2016 23:15:30 +0000 (00:15 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 13:04:31 +0000 (13:04 +0000)
Deletes the --staging option of the letsencrypt command to get
real certificates. Rate limits apply.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
debian/scripts/koha-create

index 159193b..4484910 100755 (executable)
@@ -352,7 +352,7 @@ check_letsencrypt()
 letsencrypt_instance()
 {
     # Get letsencrypt certificates
-    letsencrypt --agree-tos --renew-by-default --webroot --staging certonly \
+    letsencrypt --agree-tos --renew-by-default --webroot certonly \
         -w /usr/share/koha/opac/htdocs/ -d $opacdomain -w /usr/share/koha/intranet/htdocs/ -d $intradomain
     # enable all ssl settings (apache won't start with these before certs are present)
     sed -i "s:^\s*#\(\s*SSL.*\)$:\1:" "/etc/apache2/sites-available/$name.conf"