configuring SSL in OC4J

Anyone successfully set up SSL for a standalone OC4J server?If so, how do I set the TrustStore? It should be some simple definition in the http-web-site.xml, but I can't find any docs on what it is.Any help would be greatly appreciated. Thanks!
[287 byte] By [lee_the_flee] at [2007-9-30 15:28:04]
# 1
you can copy http_web_site.xml renamed security_web_site then config in this file to add tag ssl_config, at last in server.xmlyou add security_web_stie.xml path like http_web_site.xml
autokee at 2007-7-5 22:34:10 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 2

Thanks for your reply.

I am familiar with the process of renaming the default-web-site.xml to secure-web-site.xml and then addking the lines:

<web-site port="8443" display-name="OC4J" secure="true">

<ssl-config keystore="my-keystore" keystore-password="my-password">

But what I want to know if how to set up the truststore as well? I tried doing a guess like <ssl-config truststore="..." truststore-password"...">

but that didn't work.

lee_the_flee at 2007-7-5 22:34:10 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 3

Arg! I just figured it out. It wasn't working cuz I was doing:

<ssl-config keystore="my-keystore" keystore-password="my-password" />

<ssl-config truststore="my-truststore" truststore-password="my-password" />

When I should have been doing: <ssl-config keystore="my-keystore" keystore-password="my-password" truststore="my-truststore" truststore-password="my-password" />

It works fine now.

lee_the_flee at 2007-7-5 22:34:10 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 4
Please refer to the document at http://www.MindTelligent.com/pdf/OC4JSSL.pdf on how to configure SSL in OC4J. Please feel free or email me if you have any questions
MindTelligent at 2007-7-5 22:34:10 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...