Skip to content

How to issue a new certificate on AWS EC2 instance that already had a cert issued? #1618

Answered by tashian
justas200 asked this question in Q&A
Discussion options

You must be logged in to vote

Because the Instance Identity Document that the AWS provisioner uses to authenticate your host certificate request is located at a URL accessible to anyone on the VM, the IID is treated as a single-use token by the CA when used to sign an SSH host certificate. You wouldn't want any user on your system (or, an attacker) to be able to mint more host certificates using that IID.

So, you'll need to use a different CA provisioner to issue this certificate. Since you're doing it manually, a JWK provisioner would be the simplest option for this. Hope this helps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maraino
Comment options

Answer selected by justas200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants