Before I proceed to testing this myself I wanted some clarity. I have a basic understanding of SSH and Cryptography but not completely sure about this plan. I want to implement a key rotation policy by enforcing that end user keys are only valid for 90 days, but I don't want to rotate my CA. Let's see this scenario (apologies if naive):
- I have a CA for my startup
- I sign keys for my end users (let's assume they generate the CSR)
- I provide them a valid SSH Key
- My CA Cert expires on 01/01/2030
From what I understand the expiration policy of the end user key is part of the CSR, so I can only reject the CSR but not change the key parameters like expiry. Is this assumption correct?
So I would have to instruct users to generate CSR with a limit following the rules, so then I could sign the request. But I can either sign or reject the request, but not provide the key with the expiration that I want to impose correct?
Thank you in advance.