View | Details | Raw Unified | Return to bug 15303
Collapse All | Expand All

(-)a/debian/scripts/koha-create (-2 / +1 lines)
Lines 352-358 check_letsencrypt() Link Here
352
letsencrypt_instance()
352
letsencrypt_instance()
353
{
353
{
354
    # Get letsencrypt certificates
354
    # Get letsencrypt certificates
355
    letsencrypt --agree-tos --renew-by-default --webroot --staging certonly \
355
    letsencrypt --agree-tos --renew-by-default --webroot certonly \
356
        -w /usr/share/koha/opac/htdocs/ -d $opacdomain -w /usr/share/koha/intranet/htdocs/ -d $intradomain
356
        -w /usr/share/koha/opac/htdocs/ -d $opacdomain -w /usr/share/koha/intranet/htdocs/ -d $intradomain
357
    # enable all ssl settings (apache won't start with these before certs are present)
357
    # enable all ssl settings (apache won't start with these before certs are present)
358
    sed -i "s:^\s*#\(\s*SSL.*\)$:\1:" "/etc/apache2/sites-available/$name.conf"
358
    sed -i "s:^\s*#\(\s*SSL.*\)$:\1:" "/etc/apache2/sites-available/$name.conf"
359
- 

Return to bug 15303