How to upgrade ACMEv1 to ACMEv2 compatibility

(base) [root@ip-172-31-23-114 configs]# uname -a
Linux ip-172-31-23-114 4.14.171-105.231.amzn1.x86_64 #1 SMP Thu Feb 27 23:49:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
(base) [root@ip-172-31-23-114 configs]# certbot --version
certbot 1.4.0
(base) [root@ip-172-31-23-114 configs]# ./certbot-auto --standalone --config /etc/letsencrypt/configs/iot.smarttrak.info…conf certonly
/opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
An unexpected error occurred:
The client lacks sufficient authorization :: 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.
Please see the logfiles in /var/log/letsencrypt for more details.
(base) [root@ip-172-31-23-114 configs]# ls
certbot-auto iot.smarttrak.info…conf

Help me with it.

Can you install certbot from snaps?

I have already installed certbot 1.4.0

You installed certbot and then ran certbot-auto ?

So, what should I do now?

Try running certbot instead of certbot-auto
You seem to have both installed.

OR

Check the certbot-auto version (and update that if needed)

(base) [root@ip-172-31-23-114 configs]# certbot-auto --version
-bash: certbot-auto: command not found

certbot-auto is not there

find / -name certbot-auto

(base) [root@ip-172-31-23-114 configs]# find / -name certbot-auto
/root/certbot-auto
/etc/letsencrypt/configs/certbot-auto

I got this

try each of them (with the full path)

what do you mean. whatshould I do with them

type:
/root/certbot-auto --version
/etc/letsencrypt/configs/certbot-auto --version

(base) [root@ip-172-31-23-114 configs]# /root/certbot-auto --version
Upgrading certbot-auto 1.4.0 to 1.7.0…
Replacing certbot-auto…
/opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
certbot 1.7.0
I got this

OK now you have 1.7.0 (which should have v2 support)

can I use this command

./certbot-auto --standalone --config /etc/letsencrypt/configs/iot.smarttrak.info…conf certonly

I’m getting the same

(base) [root@ip-172-31-23-114 configs]# ./certbot-auto --standalone --config /etc/letsencrypt/configs/iot.smarttrak.info…conf certonly
/opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
An unexpected error occurred:
The client lacks sufficient authorization :: 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.
Please see the logfiles in /var/log/letsencrypt for more details.

? ? ?
Have you learned nothing?

Please show:
./certbot --version

(base) [root@ip-172-31-23-114 configs]# ./certbot --version
-bash: ./certbot: No such file or directory

which command should I use instead?