This content has been marked as final. Show 3 replies
Since you don't say how you generated the key and certificate that you placed in the keystore I shall assume that you generated the key and self-signed certificate using 'keytool'(1). When you looked at the documentation for 'keytool' did the option not jump out at you?
(1) The only thing that hints that this is not the case is that the default validity period for 'keytool' is documented as 90 days and not 6 months.
it's jarsigner that says the cert will expire in 6 months.
and it's keytool -selfcert that generated the certificate, apparently, and put that date in there.