When Generate certificate,An unexpected error occurred

Perhaps @dojobwill is running an older/ancient version of certbot? I didn't see a version number in the OP unfortunately.