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

  • 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

  • 2
1 Solution
the certificate must be replaced when it expires
for detailed guidence see

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

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