Hello Martin,
Thanks very much for your help. Nevertheless, I don't understand all you said.
So, I tried the following (error messages are translated from french, so they may differ from original ones) :
C:\Program Files\Java\jdk1.6.0_20\bin>keytool -list -keystore d:\gf301b18\glassfishv3\glassfish\domains\domain1\config\*.crt -storepass changeit
> keytool error : Keystore file not found
> (I have no file with crt extension, I work on the base copy of Gfv301)
C:\Program Files\Java\jdk1.6.0_20\bin>keytool -list -keystore d:\gf301b18\glassfishv3\glassfish\domains\domain1\config\keystore.jks -storepass changeit
> 1 entry : s1as, 12 may 2010, PrivateEntryKey + MD5 fingerprint given.
> (I replaced *.crt to keystore.jks)
C:\Program Files\Java\jdk1.6.0_20\bin>keytool -list -keystore d:\gf301b18\glassfishv3\glassfish\domains\domain1\config\cacerts.jks -storepass changeit
> 34 entries : equifaxsecurebusinessca1, verisignclass1g3ca, verisignclass2g2ca, verisignclass3g3ca, entrustglobalclientca, godaddyclass2ca, sunsslca, gtecybertrustglobalca, deutschetelekomrootca2, entrustgsslca, verisignclass1ca, thawtepersonalbasicca, verisignclass1g2ca, entrustsslca, thawtepersonnelfreemailca, verisignclass3ca, verisignclass2g3ca, thawteserverca, equifaxsecureca, verisignclass3g2ca, thawtpremiumserverca, entrust2048ca, entrustclientca, baltimorecybertrustca, valicertclass2ca, s1as, geotrustglobalca, gtecybertrust5ca, starfieldclass2ca, baltimorecodessigningca, equifaxsecureglobalbusinessca1, equifaxsecurebusinessca2, verisignclass2ca
> (I replaced *.crt to cacerts.jks)
> (No more jks files)
My domain.xml is the default one. here is my section "provider client" :
<provider-config provider-type="client" provider-id="ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
<request-policy auth-source="content" />
<response-policy auth-source="content" />
<property name="encryption.key.alias" value="s1as" />
<property name="signature.key.alias" value="s1as" />
<property name="dynamic.username.password" value="false" />
<property name="debug" value="false" />
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" />
</provider-config>
Finally, I can't find any file security.config in my config dir : d:\gf301b18\glassfishv3\glassfish\domains\domain1\config\
Do I have to write a new one ? Or am I not looking at the right folder ? I tried unsuccessfully some searches.
Thanks again for your help.
[Message sent by forum member 'laps']
http://forums.java.net/jive/thread.jspa?messageID=471187