Letsencrypt: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Webroot == /etc/apache2/vhosts.d/ssl_security.include <pre> # Let's Encrypt (webroot) <IfModule mod_headers.c> <LocationMatch "/.well-known/acme-challenge/*"> Header..." |
No edit summary |
||
| Line 9: | Line 9: | ||
</LocationMatch> | </LocationMatch> | ||
</IfModule> | </IfModule> | ||
</pre> | </pre> | ||
| Line 23: | Line 17: | ||
0 0 1 * * | 0 0 1 * * | ||
letsencrypt certonly --webroot -w /var/www/q.deltaquadrant.org/htdocs -d q.deltaquadrant.org --renew-by-default | letsencrypt certonly --webroot -w /var/www/q.deltaquadrant.org/htdocs -d q.deltaquadrant.org --renew-by-default | ||
</pre> | |||
== Owncloud 8.2.2 Fix == | |||
https://github.com/owncloud/core/commit/e30740648686c6b9e6743f8551487274d43b006c | |||
<pre> | |||
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.* | |||
</pre> | </pre> | ||
Revision as of 00:09, 20 January 2016
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/.*