Java – what happens if the certificate that signed the jar (with a timestamp) expires

I signed a jar with time stamp 2 years ago The certificate is about to expire What will happen? Will users be warned and will it work? Will it stop working?

I didn't add any specific code to the applet to handle the timestamp I only include - TSA URL when signing

Editor: it continues to work

Solution

Before Java 5 se, signing jars whose signing certificates have expired will no longer be valid or available

Using Java 5 Se and later, the signing jar whose signing certificate has expired will continue to be valid However, expired certificates cannot be used to sign any further jars

From Oracle’s docs:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>