how to remove the notation store and generate new certificate with longer validity #989
|
Hi, Can someone please provide the steps to remove the cert, key, and store? Also, provide the details to generate new store, cert and key with longer validity. |
Replies: 3 comments 2 replies
|
Hi @TnGadaria , It is by design that the test key and cert generated by If you want to sign using a key cert pair with longer validity for testing purposes, you can use Is this answer helpful? |
|
I found this link: #539 (comment) as workaround for now to add the key. |
Hi @TnGadaria ,
It is by design that the test key and cert generated by
notation cert generate-testwill be expired after 1 day. You can remove the test key and cert usingnotation key deleteandnotation cert delete. See https://notaryproject.dev/docs/user-guides/cli-reference/notation_certificate_delete/. Alternatively, you can re-generate a new test key and cert usingnotation cert generate-testwith another cert name.If you want to sign using a key cert pair with longer validity for testing purposes, you can use
opensslto generate a test key and cert and then add them to the notation trust store.Is this answer helpful?