I have used letsencrypt.sh / dehydrated for my servers so far, but would like to switch over to using certbot for my new server. Is there any known way to convert my account information and private keys in dehydrated to one compatible with certbot?
Just asking before I attempt to come up with an solution myself.
Most other clients store the RSA key in PEM format.
A few weeks ago, the certbot team accepted a PR from me to the josepy package for an example script that shows how to convert JWK to PEM (and vice-versa).
FWIW that's only one possible account key algorithm. It isn't universally true that Let's Encrypt account public keys are RSA, you can also register an ECDSA keypair for the account key.