authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Lets Encrypt integration

Open BeryJu opened this issue 3 years ago • 10 comments

Either DNS based (probably in Go) or via HTTP Challenge (http challenge is sent to and served by outpost)

BeryJu avatar Nov 23 '21 16:11 BeryJu

Or let us give it the certificate directory?

samip5 avatar Dec 02 '21 21:12 samip5

DNS based is a must, http challenge would not work for all scenarios. In my case I have many internal only endpoints that do have valid certificates that currently are generated by Traefik using DNS challenge, that would not be possible with HTTP challenge

dougmaitelli avatar Dec 02 '21 21:12 dougmaitelli

@samip5 Cert directory certainly sounds like a good first step, a folder on the worker that gets scanned every 5 minutes and all certificates in there will be imported/updated

@dougmaitelli DNS support might be feasible when authentik is all go, and go-lego can be used, I do not want to have to maintain 4728 DNS providers.

BeryJu avatar Dec 02 '21 22:12 BeryJu

@BeryJu, makes sense, I was not aware of go-lego. This is the only feature currently preventing me of migrating from Traefik / Authelia. Thanks for all the hard work!

dougmaitelli avatar Dec 02 '21 23:12 dougmaitelli

https://goauthentik.io/docs/core/certificates#external-certificates, will be included in 2021.12.1

BeryJu avatar Dec 03 '21 17:12 BeryJu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 01 '22 19:02 stale[bot]

Bump.

evulhotdog avatar Feb 01 '22 19:02 evulhotdog

Couldn't you replace the proxy with swag which is based on nginx? Or nginx Things like crowdsec or modsecurity could be considered as well

lordraiden avatar Apr 20 '22 20:04 lordraiden

We have a fully working, ready to go, DNS based LE + Zero SSL solution ready using Caddy and our https://github.com/caddy-dns/acmedns

https://caddy.community/t/new-acme-dns-libdns-plugin/15474/3

let me know what anyone here needs to try it out. Very hands off with the choice to even host the DNS server yourself, so it's all literally self hosted

gc-ss avatar Apr 20 '22 20:04 gc-ss

+1 Vote for DNS based Lets Encrypt

macmillernz avatar Jul 26 '22 09:07 macmillernz

We'll close this as it's already supported by using certbot and importing the certificates, and for other use-cases using a reverse-proxy that manages certificates is recommended

BeryJu avatar Mar 21 '24 17:03 BeryJu