You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates distinct sections for your own certificate, Let's Encrypt, and
the traefik.me options.
Cleaned up the table a little that explains the two cert files. I
changed from the `cert.pem` to __cert.pem__ so it the line wraps
correctly.
Cleaned up the troubleshooting section a little, and added a note about
redownloading the traefik.me certificate
|`privkey.pem`| A PEM encoded private key used to sign your certificate |
47
-
|`cert.pem`| A PEM encoded certificate that also contains the issuer's certificate as well. Most certificate authorities offer "Full Chain" or "With Issuer" certificates that contain everything you need. Occassionally, you may find yourself needing to manually concatenate your certificate with the issuer certificate by hand. In that case, the certificate for your site goes first, and the issuer's certificate is appended afterwards. |
47
+
| File | Purpose |
48
+
| :---- | :------- |
49
+
|__cert.pem__| A PEM encoded certificate that also contains the issuer's certificate as well. Most certificate authorities offer "Full Chain" or "With Issuer" certificates that contain everything you need. Occassionally, you may find yourself needing to manually concatenate your certificate with the issuer certificate by hand. In that case, the certificate for your site goes first, and the issuer's certificate is appended afterwards. |
50
+
|__privkey.pem__| A PEM encoded private key used to sign your certificate |
51
+
48
52
49
-
### Using Let's Encrypt instead of Certificate Files
53
+
### Requesting Certificates through Let's Encrypt
50
54
51
-
To use Let's Encrypt to acquire your SSL Certificate, set the following in your .env file
55
+
To use Let's Encrypt to acquire your SSL Certificate, set the following in your .env file and run `make -B docker-compose.yml && make up`.
Be sure to replace `your-mail@example.org` with the email address you've associated with Let's Encrypt.
62
+
Be sure to replace `your-email@example.org` with the email address you've associated with Let's Encrypt.
59
63
60
-
#### Troubleshooting
64
+
The way this is setup, is it performs an HTTP Challenge to verify you are in control of the domain. So your system will need to be accessible at `http://DOMAIN/`.
61
65
62
-
If you are still getting security exceptions, check what certificate is being used through your browser. Setting `TRAEFIK_LOG_LEVEL=DEBUG` in your `.env` file will help out greatly when debugging Traefik. You can tail the logs with `docker-compose logs -tf traefik`
66
+
??? warning "Let's Encrypt Rate Limit"
67
+
If you aren't careful, you can hit Let's Encrypt's rate limit, and you'll be locked out for up to a week! If you want to use their staging server instead while testing things out, add the following to your .env file
63
68
64
-
If you aren't careful, you can hit Let's Encrypt's rate limit, and you'll be locked out for up to a week! If you want to use their staging server instead while testing things out, add the following to your .env file
You'll still get security exceptions when it's working, but you should be able to check the certificate from the browser and confirm you are getting it from the staging server.
You'll still get security exceptions when it's working, but you should be able to check the certificate from the browser and confirm you are
71
-
getting it from the staging server.
78
+
### Troubleshooting Certificate Issues
79
+
80
+
If you are still getting security exceptions, check what certificate is being used through your browser. Setting `TRAEFIK_LOG_LEVEL=DEBUG` in your `.env` file will help out greatly when debugging Traefik. You can tail the logs with `docker-compose logs -tf traefik`.
81
+
82
+
#### islandora.traefik.me SSL certificate expired or revoked
83
+
The _*.traefik.me_ certificate that covers `islandora.traefik.me` will need to be redownloaded ocassionally, due to the certificate expiring or possibly being revoked. You can download the updated certificates by performing the following commands:
84
+
85
+
```
86
+
rm certs/cert.pem
87
+
rm certs/privkey.pem
88
+
make download-default-certs
89
+
docker-compose restart traefik
90
+
```
91
+
92
+
!!! note "traefik.me Certificate Note"
93
+
94
+
Please note that sometimes the upstream provider of the traefik.me certificate takes a couple of days to update the certificiate after it expires or is accidently revoked.
0 commit comments