I was using:
Now I get this error:
using server https://acme-v01.api.letsencrypt.org/
Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See End of Life Plan for ACMEv1 for details.
How could to convert it to v2, could you please share what I should to add or provide a update for this sample please. thanks.