glassfish 4 Certificate has expired

In my glassfish4 I got the following log messages that a certificate has expired:

Severe:   SEC5054: Certificate has expired: [
  Version: V3
  Subject: CN=GTE CyberTrust Root 5, OU="GTE CyberTrust Solutions, Inc.", O=GTE Corporation, C=US
  Signature Algorithm: SHA1withRSA, ""OID"" = 1.2.840.113549.1.1.5
  Key:  Sun RSA public key, 2048 bits

Here is how to remove this certificate:

cd glassfish-4.0/glassfish/domains/domain1/config
keytool -delete -alias gtecybertrustglobalca -keystore cacerts.jks -storepass changeit


Leave a Comment