We got e-mail that we need to upgrade ACMEv1 to ACMEv2. We are using ubuntu 16.04/18.04. We tried to find out the method and visit some article but no success.
Can you please help us how we can upgrade our ACMEv1 protocol to ACMEv2?
We have upgraded our certbot to version 0.31 but still showing acme-v01.api.letsencrypt.org folder in /etc/letsencrypt folder. But we are assuming it should be acme-v02
Below are the version of certbot and python3-acme:
xyz@abc:/etc/letsencrypt/accounts# certbot --version
certbot 0.31.0
xyz@abc:/etc/letsencrypt/accounts# dpkg -l python3-acme
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-=====================-=====================-=====================================================================
ii python3-acme 0.31.0-2+ubuntu18.04. all ACME protocol library for Python 3
Does it come up with one or more server directives in configuration files? It could be /etc/letsencrypt/cli.ini itself, but could also be hardcoded in renewal configuration files.
I think its best not to hardcode the server option when only Let's Encrypt ACME server is used in combination with certbot, as certbot uses LE by default. Only if you have some sort of test domain only using the staging server, I can understand you'd want to hardcode that. But if you're just using the default production ACME server, don't hardcode it anywhere.
Where? If you mean in /etc/letsencrypt/accounts/, that's normal. Certbot just doesn't delete the acme-v01.api.letsencrypt.org account files. When you first interact with the ACMEv2 API, it will create an acme-v02.api.letsencrypt.org directory and copy or symlink your Let's Encrypt account data to it.
EDIT: Having read up some more on this, it seems that compatible clients will simply switch to v2.0 automatically. The fact that I haven’t makes me think it’s because our outgoing proxy is preventing certbot accessing acme-v02.api.letsencrypt.org. Allowing this might solve my problem but so far I’m not having any luck.