title: This jar contains entries whose signer certificate will expire within six months
body: <p>I've signed my jar in various ways, but I keep getting the above error message when I use the command:</p>
  
  <pre><code>jarsigner -verify -verbose [my jar]
  </code></pre>
  
  <p>Is there a way to get rid of this error? Will my code just stop working after six months if it's not re-certified?</p>
  
  <p>Here is the entire set of commands used to generate the key &amp; sign the Jar:</p>
  
  <pre><code>keytool -genkey -keystore [keystore] -alias [alias] -validity 2000
  keytool -selfcert -keystore [keystore] -alias [alias] -validity 2000
  jarsigner -keystore [keystore] [jar] [alias]
  </code></pre>