mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
Also, add checking to the newNonce HEAD request, and check responses in general before attempting to save a nonce, for a better error message. * check response before adding nonce to the pool * fix tests so that they test what they're supposed to test, and also allow the order of _add_nonce and _check_response to be switched * make _get_nonce take acme_version * Send HEAD to newNonce endpoint when using ACMEv2 * check the HEAD newNonce response * remove unnecessary try; get returns None if the item doesn't exist * instead of setting new_nonce_url on ClientNetwork, use the saved directory in ClientBase and pass that into ClientNetwork.post * no need to test acme_version in _get_nonce * pop new_nonce_url out of kwargs before passing to _send_request
ACME protocol implementation in Python