Instead of pinning the cert, you can pin to one or multiple rsa public keys. Then you can use those keys when you generate signing requests (CSR) from lets encrypt.
You shouldn’t be pinning to your leaf certs, which is the only reason LE certs would be a problem here.
Re:Understanding Certificate Pinning
by kingosticks on Wednesday June 17, 2020 @10:53AM
(#23552140)
Possibly stupid question here (this is not my domain), but what is the alternative to pinning the client to use your leaf certs? If it's pinning to your root cert, then isn't that much more of a pain if/when you need to revoke what the client is using? Or is the correct alternative to pin "to one or multiple rsa public keys" as mentioned in the sibling comment?
Late reply, but: if you really must pin (and you probably shouldn’t), pin to public keys, not the certs in the chain.
Re:Understanding Certificate Pinning
by kingosticks on Tuesday June 30, 2020 @06:02PM
(#23695292)
Thank you!
But then Lets Encrypt came along and was widely adopted. LE thinks that it is best that certificates expire after only a few weeks. So, if you have pinned a lot of certificates, you start to feel that it is too much work to manage that configuration, you constantly have to update it.