On Aug 14th, the gtecybertrust5ca certifcate used by Glassfish expired causing my Arquillian tests to print errors.
This problem is similar to this one: Certificate
I fixed the issue following the steps:
Find precise date of expiration in logs of your application (in my case it was Aug 15 2013)
Extract files from glassfish-.jar into folder glassfish-
In glassfish-* find a folder config. It contains needed cacerts.jks
Using java keytool I list all certificates using the answer I found here
list all certificates from cacerts.jks, the keytool from java can do that. I copied the cacerts.jks file in the keytool folder but is optional if keytool is working well : C:\glassfish3\jdk7\bin>keytool -list -v -keystore cacerts.jks -storepass changeit > listaCertificados.txt
i deleted the gtecybertrust5ca (use the name of certificates that expired in ur case) certified that expired in august 2013. The command is: keytool -delete -alias gtecybertrust5ca -keystore cacerts.jks -storepass changeit
jar uf glassfish-* config