change the glassfish masterpassword to match the password of your stores (assuming both keystore and truststore have the same password)
asadmin change-master-password --savemasterpassword=true
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]
http://forums.java.net/jive/thread.jspa?messageID=258022