ok, many thanks for PHOENIX_JVM_OPT.
Now I can pass the vm argumenet
"Djavax.net.ssl.trustStore=cert/client.truststore" to my mailet, but then I get
this exception:
"exception! javax.mail.MessagingException: ; nested exception is:
javax.net.ssl.SSLException: java.lang.RuntimeException: Could not
generate DH keypair"
Could somebody help me please? With a normal Java class this works fine, but
with the mailet I get this error and I have no idea what the problem could be.
Oliver
Tor-Einar Jarnbjo <[EMAIL PROTECTED]> schrieb:
You could always set PHOENIX_JVM_OPTS in bin/phoenix.sh, but I am not
really sure if you want to tamper with the SSL settings for the entire
James instance, as setting the system property at startup will affect
all usage of SSL initiated by James. If what you really want to do is to
add an additional trusted CA, you might be better off adding the CA
certificate to the VM's global keystore instead of using your own
keystore for trusted CAs.
Tor
Oliver Nolden wrote:
> Hi,
>
> I need to know how to pass VM arguments to a mailet. For example I want to
> pass the mailet this VM argument:
> "Djavax.net.ssl.trustStore=cert/client.truststore"
>
> I read the available JAMES documentation and searched also in the
> mailing-list, but not find aynthing helpful. Could somebody help me please?
>
> Oliver
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
> gegen Massenmails.
> http://mail.yahoo.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen
Massenmails.
http://mail.yahoo.com