Hello Norman,

Thanks for your respond. But stil no luck :(
With database.url=jdbc:postgresql://192.168.0.60/james&ssl=true it will try to connect to the database james&ssl=true and SSL is still off

best regards
Darko Hojnik

Am 05.04.2011, 18:14 Uhr, schrieb Norman Maurer <nor...@apache.org>:

Hi there,

I think from the docs you need to add the ssl=true the url as parameter. So prolly something like this:

database.url=jdbc:postgresql://192.168.0.60/james&ssl=true

Bye,
Norman
Am 05.04.2011 um 18:09 schrieb Darko Hojnik:

Hi there,

I have changed database.properties from Apache James from derby to PostgreSQL. Without SSL I think it works. The server has filled some tables inside the database. Under http://jdbc.postgresql.org/documentation/81/ssl-client.html I've read the documentation for using SSL. So I've added the needed -Djava options. And the database.properties I've filled

database.driverClassName=org.postgresql.Driver
database.url=jdbc:postgresql://192.168.0.60/james
database.username=james
database.password=james
vendorAdapter.database=POSTGRESQL
ssl=true


Also I've tried

database.driverClassName=org.postgresql.Driver
database.url=jdbc:postgresql://192.168.0.60/james
database.username=james
database.password=james
vendorAdapter.database=POSTGRESQL
database.ssl=true
database.sslfactory=org.postgresql.ssl.NonValidatingFactory

So my problem after all is that the org.postgresql.Driver still doesn't start with the parameter ssl=true. Currently I've tried it at home. But on my production environment the box with Apache James and the Box with PostgreSQL also both servers are in the same Datacenter but not in an 100% trustful network. So I really need SSL! Could anybody tell me whats doing the trick?

best regards
Darko Hojnik

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to