hi @Cato
I usually prefer testing is done via the requests python library (as well as CURL)
Just because CURL returns a valid response doesn't mean there's not something funky going on with the URLLIB library (what Certbot uses to make HTTPS calls)
Test code below:
Andrei