Letsencrypt

From Q
Revision as of 00:09, 20 January 2016 by Tgurr (talk | contribs)
Jump to navigation Jump to search

Webroot

/etc/apache2/vhosts.d/ssl_security.include

# Let's Encrypt (webroot)
<IfModule mod_headers.c>
  <LocationMatch "/.well-known/acme-challenge/*">
    Header set Content-Type "application/jose+json"
  </LocationMatch>
</IfModule>

cronjob (first day every month at 12:00AM)

/etc/cron.d/letsencrypt

MAILTO="mail@example.com"
0 0 1 * *
letsencrypt certonly --webroot -w /var/www/q.deltaquadrant.org/htdocs -d q.deltaquadrant.org --renew-by-default

Owncloud 8.2.2 Fix

https://github.com/owncloud/core/commit/e30740648686c6b9e6743f8551487274d43b006c

RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*