There were only 7 (numbered) steps. Perhaps some markdown issue, somewhere?
But if I got you right, you were meaning actions like this: `# keytool -delete -alias login.test.flvc.org_idp-signing -keystore /opt/amazon-corretto-18.104.22.168-linux-x64/jre/lib/security/cacerts -storepass changeit`
Deleteion is done just to prevent any possible ambiguities (like, several trust store entries related to the same service/hostname); to keap it clean and tidy. The main part here is addition of the newly generated certificate, to make Java trust it. That's just to prevent any issues due to the fact those certificates are self-signed - and sometimes such certificates can be rejected by Java, depending on when/where it encounteres it.