caddy
caddy copied to clipboard
Implemented the zerossl API to issue ssl certificates
Closes #6064
@mholt This is my initial attempt to implement the ZeroSSL API to issue new certs. I am sure it will require further adjustments so any feedback here would be great 😅 Also, what do you think is the best/easiest way to test this thoroughly and make sure it's working as intended?
Just circling back, sorry again for the delay.
I did a quick scan and the overall approach looks right: use ACME unless the API is explicitly enabled. I still need to read through the API code and the API docs and see how that goes, and test it out. I have an account with ZeroSSL that will let me test this, so maybe I'll just do that (unless you'd really like to -- in that case I can request you get special access to be able to do so).
That would work, you can test it and I'll take it back from there based on your feedback. Thank you!
(Still on my list! Sorry!)
I experiencing this error on production. Is there any workaround?
Should I replace caddy with letsencrypt + nginx or better wait for this update?
What issue @gustawdaniel? This is a new feature.
Please open a topic on the forums if you need help https://caddy.community
@armadi1809 Hey Aziz, I went ahead and built on your work in https://github.com/caddyserver/zerossl -- and from there I'll integrate the API use in Caddy/CertMagic :)
Thanks for the kickstart!! I gave you credit in the commit.
Next steps will be to probably move the ZeroSSLIssuer into CertMagic, so CM users can also use ZeroSSL easily. Then to make the ZeroSSLIssuer in Caddy a simple wrapper over the CM one, kind of like ACMEIssuer is.