Lets encrypt found a security vulnerability last week with the tls-sni-01 and tls-sni-02 challenge protocols [1] and disabled their use for authoring new certificates. The autocert package used these protocols, and is therefore no longer working in older versions of drone.
We merged a patched version of the autocert package that uses http-01 challenge protocol last week [2]. You will need to use the drone/drone:latest image to take advantage of these changes.
Hi bradrydzewski, I follow the discussion on GitHub. I have erased all my images and got the latest drone image from Docker Hub. I even tried the alpine version, but I’m still getting the error.
The docker-compose.yml configuration has changed for the http-01 challenge protocol?
unable to authorize “drone.exemple.com”; tried [“tls-sni-02” “tls-sni-01”]
Your error messages shows that tls-sni-01 and tls-sni-02 challenge protocols are still being used which could indicate you still do not have the latest image. Or it could indicate an issue with the current implementation. I’m not sure.
My certificates do not expire until march, and I am busy with some other work, so this is not something I can work on right now. If you continue to experience issues, please consider sending a pull request to improve the current implementation, and I can help expedite getting it merged. Thanks!
@rafaelncarvalho can you post your docker-compose file, I’ve tested the implementation. Be sure that you expose both port 80 and 443 , 80 its mandatory for Let’s encrypt verification.