Java - Warning: The signer certificate has expired.

Posted on 2006-05-18
Last Modified: 2008-02-07
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

Question by:rayskelton
    LVL 14

    Accepted 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
    LVL 14

    Expert Comment

    remove the previous certificate and create a new one

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
    This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now