[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6730
  • Last Modified:

Java - Warning: The signer certificate has expired.

I am getting the following error when when attempting to sign a jar file as listed below.

Warning: The signer certificate has expired.

My command to sign this jar file is listed below.
jarsigner -keystore CPKey Myjar.jar CP

I am attempting to create a new jar file with the following command but do not know exactly how to create a new certificate. How do I create a new certificate and resolve the above warning message? I need detailed guidence through this process.

keytool -v -genkey -alias admin -keypass mypwd


0
rayskelton
Asked:
rayskelton
  • 2
1 Solution
 
hoomanvCommented:
the certificate must be replaced when it expires
for detailed guidence see
http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html#security
http://java.sun.com/j2se/1.5.0/docs/guide/security/time-of-signing-beta1.html

you can see the certificate validity date from
Control Panel --> Java --> Security --> Certificates
click detail on the specified certificate
0
 
hoomanvCommented:
remove the previous certificate and create a new one
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now