LetsEncrypt: new local challenge pre-test

Version 1.501

Bugfix
Finished

Changed how we do local challenges before actually submitting the request to LetsEncrypt. It now uses curl to basically duplicate the same thing they do, and this allows to us to take the appropriate action to the certificate (removing non-functional items) before actually sending off the request to LE, which may have failed. This also has the added benefit of reducing the number of wasted requests to LE.

Interested to try DirectAdmin? Get a 30-day Free Trial!