- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux:certbot:deep [2018/04/26 15:47] admin [Second method] |
linux:certbot:deep [2020/03/27 12:46] (current) admin |
||
|---|---|---|---|
| Line 21: | Line 21: | ||
| <code> | <code> | ||
| location /.well-known { | location /.well-known { | ||
| - | alias /var/www/I/like/it/here/.well-known; | + | root /var/www/I/like/it/here/; |
| } | } | ||
| </code> | </code> | ||
| - | | + | Be careful, nginx appends the location itself. Here it adds .well-known to the /i/like/it/here/. |
| Apache2: | Apache2: | ||
| <code> | <code> | ||
| Line 39: | Line 40: | ||
| | | ||
| 3. When you call certbot with webroot parameter | 3. When you call certbot with webroot parameter | ||
| - | certbot certonly --webroot -d novyweb.starlab.cz | + | certbot certonly --webroot -d novyweb.starlab.cz -w /var/www/letsencrypt/ |
| here is the HTTP GET code what the remote server asks for: | here is the HTTP GET code what the remote server asks for: | ||
| Line 55: | Line 56: | ||
| | | ||
| | | ||
| + | ===== DNS auth ===== | ||
| + | /usr/src/certbot-auto certonly --manual --preferred-challenges=dns --email firma@example.cz -d example.com -d *.example.com | ||
| + | |||
| + | | ||
| + | ===== Be careful with wsgi proxy ====== | ||
| + | Proxy goes first then aliases. You have to create an exeption for .well-known. | ||
| + | Showing just apache2 config line | ||
| + | ProxyPass /.well-known ! | ||
| + | |||
| + | |||
| ===== Nice source ===== | ===== Nice source ===== | ||
| * https://gist.github.com/cecilemuller/a26737699a7e70a7093d4dc115915de8 | * https://gist.github.com/cecilemuller/a26737699a7e70a7093d4dc115915de8 | ||
linux/certbot/deep.1524750473.txt.gz · Last modified: 2018/04/26 15:47 by admin


