Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

If you user seam-mail with ssl and you use a certificate witch ist not signed by a trusted ca (eg: verisign,...) you get a error like this:

... part of stacktrace:
Caused by: javax.mail.MessagingException: Could not connect to SMTP host:, port: 465;
  nested exception is: Unconnected sockets not implemented
        at com.sun.mail.smtp.SMTPTransport.openServer(
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(
        at javax.mail.Service.connect(
        at javax.mail.Service.connect(
        at javax.mail.Service.connect(
        at org.jboss.seam.mail.ui.UIMessage.encodeEnd(
        ... 72 more

This is because java-mail only accepts certificates that are signed by special companies.

So: you want to use a smtp-server which uses a certificate signed by

You have to tell your JVM to trust this certs.

  1. Download the root.crt and the class3.crt from the homepage of your CA into your home (/home/$username)
  2. Install the certs into your Java-Truststore by typing:
    keytool -import -file /home/$username/class3.crt -alias cacertroot -trustcacerts -keystore /usr/lib/jvm/java-1.5.0-sun/jre/lib/security/cacerts
    keytool -import -file /home/$username/root.crt -alias cacertclass3 -trustcacerts -keystore /usr/lib/jvm/java-1.5.0-sun/jre/lib/security/cacerts

Maybee you nedd root-access to do this. If you are asked for password of your keystore: if you did not already set it, the default is: changeit