-
Notifications
You must be signed in to change notification settings - Fork 575
Open
Description
Here's where I got lost...
Step 3: Make your website host challenge files
You must prove you own the domains you want a certificate for, so Let's Encrypt
requires you host some files on them. This script will generate and write those
files in the folder you specify, so all you need to do is make sure that this
folder is served under the ".well-known/acme-challenge/" url path. NOTE: Let's
Encrypt will perform a plain HTTP request to port 80 on your server, so you
must serve the challenge files via HTTP (a redirect to HTTPS is fine too).
# Make some challenge folder (modify to suit your needs)
mkdir -p /var/www/challenges/
# Example for nginx
server {
listen 80;
server_name yoursite.com www.yoursite.com;
location /.well-known/acme-challenge/ {
alias /var/www/challenges/;
try_files $uri =404;
}
...the rest of your config
}
Metadata
Metadata
Assignees
Labels
No labels