Is it possible to rewrite a Java applet with a newer certificate?

I have a signed Java applet and the certificate just expired. I have a new certificate, but I'm not sure I can find the unsart applet jar source file. Is there a way I can take a signed bank and replace the old certificate with a new one? Thanks.

+4
source share
1 answer

You cannot wrap it.

However, you should simply rewrite the JAR with a different certificate. Signing a JAR does not encrypt it anyway. It simply adds material to the manifest section.

This is not a security issue. The re-signed certificate is different from the original, the end user must accept it again and again. (I don’t think you can avoid this ... because it will be a security issue!)


In any case, a simple approach is to simply re-subscribe the signed JAR applet and see if it works and how it behaves when trying to run it as a user.

+1
source

Source: https://habr.com/ru/post/1415775/


All Articles