users@glassfish.java.net

Re: ejb client using ssl port

From: <glassfish_at_javadesktop.org>
Date: Tue, 17 Feb 2009 04:01:58 PST

> thank you, but i dont get:
>
> 1. which sun-ejb-jar.xml file should i change
You will need to attach a sun-ejb-jar.xml and bundle with the ejb application, if not present. The blog post contains a sample sun-ejb-jar.xml
> 2. do i need to make keystore file on server and copy
> files to a client directory? if so - how to do it
> properly
If the client and server are on different machines, there needs to be copies of the keystore and truststore files in the client machine in any location, that is pointed to by the properties below
> 3. which file should be set to
> -Djavax.net.ssl.keyStore and
> -Djavax.net.ssl.trustStore
>
The files are present in:

<GF-HOME>/domains/<DOMAIN>/config/keysore.jks
<GF-HOME>/domains/<DOMAIN>/config/cacerts.jks

HTH
Nithya
> -michal
[Message sent by forum member 'nitkal' (nitkal)]

http://forums.java.net/jive/thread.jspa?messageID=332222