Problem with staging environment

You probably don’t want to revoke it if it is a copy of your production certificate!

It’s only necessary to revoke a certificate if someone has compromised the private key. Otherwise just deleting it is fine.

If you’re going to restart and try again, I would suggest using tar to copy your /etc/letsencrypt directory so the permissions and symlinks are preserved instead of manually recreating them. It looks like you did that right because certbot certificates worked, but this is often a source of issues.

prod $ sudo tar -cJf certs.tar.xz /etc/letsencrypt
stage $ sudo tar -x certs.tar.xz -C /