Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
letsencrypt.sh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
letsencrypt.sh
Commits
7b968344
Commit
7b968344
authored
Dec 19, 2015
by
Lukas Schauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme: mores infos about WELLKNOWN
parent
3bc1cf91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
README.md
README.md
+21
-5
No files found.
README.md
View file @
7b968344
...
...
@@ -49,18 +49,34 @@ example.net www.example.net wiki.example.net
This states that there should be two certificates
`example.com`
and
`example.net`
,
with the other domains in the corresponding line being their alternative names.
###
example nginx config
###
$WELLKNOWN / challenge-response
If you want to use nginx you can set up a location block to serve your challenge responses:
Boulder (acme-server) is looking for challenge responses under your domain in the
`.well-known/acme-challenge`
directory
This script uses
`http-01`
-type verification (for now) so you need to have the that directory available over normal http (no ssl).
A full URL would look like
`http://example.org/.well-known/acme-challenge/c3VjaC1jaGFsbGVuZ2UtbXVjaA-aW52YWxpZC13b3c`
.
An example setup to get this to work would be:
nginx.conf:
```
...
location /.well-known/acme-challenge {
root
/var/www/letsencrypt;
alias
/var/www/letsencrypt;
}
...
```
config.sh:
```
bash
...
WELLKNOWN
=
"/var/www/letsencrypt"
...
```
For this to work i'd suggest either configuring
`/var/www/letsencrypt`
as WELLKNOWN directory,
or to create a symlink to the default location next to the script:
`ln -s /var/www/letsencrypt .acme-challenges`
An alternative to setting the WELLKNOWN variable would be to create a symlink to the default location next to the script (or BASEDIR):
`ln -s /var/www/letsencrypt .acme-challenges`
## Import
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment