Lines 330-336
enable_sru_server()
Link Here
|
330 |
letsencrypt_instance() |
330 |
letsencrypt_instance() |
331 |
{ |
331 |
{ |
332 |
# Get letsencrypt certificates |
332 |
# Get letsencrypt certificates |
333 |
$LETSENCRYPT_PATH/letsencrypt-auto --agree-tos --renew-by-default --webroot --server https://acme-v01.api.letsencrypt.org/directory certonly \ |
333 |
$LETSENCRYPT_PATH/letsencrypt-auto --agree-tos --renew-by-default --webroot --staging certonly \ |
334 |
-w /usr/share/koha/opac/htdocs/ -d $opacdomain -w /usr/share/koha/intranet/htdocs/ -d $intradomain |
334 |
-w /usr/share/koha/opac/htdocs/ -d $opacdomain -w /usr/share/koha/intranet/htdocs/ -d $intradomain |
335 |
# enable all ssl settings (apache won't start with these before certs are present) |
335 |
# enable all ssl settings (apache won't start with these before certs are present) |
336 |
sed -i "s:^\s*#\(\s*SSL.*\)$:\1:" "/etc/apache2/sites-available/$name.conf" |
336 |
sed -i "s:^\s*#\(\s*SSL.*\)$:\1:" "/etc/apache2/sites-available/$name.conf" |
337 |
- |
|
|