| From: | Kris Jurka <books(at)ejurka(dot)com> |
|---|---|
| To: | Andrew M <andrew(at)jibeya(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: SSL confirmation - No trusted certificate found |
| Date: | 2004-12-06 12:28:23 |
| Message-ID: | Pine.BSO.4.56.0412060720210.11059@leary.csoft.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-jdbc |
On Mon, 6 Dec 2004, Andrew M wrote:
> jdbc:postgresql://localhost:5432/mydatabase?ssl
>
> When I launch Jboss, which handles the connection to postgresql, I get
> the following error:
>
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: No trusted certificate found
>
Difficult to say. Perhaps JBoss is deciding to use an alternate
truststore? Perhaps it doesn't like your cert setup. I would suggest
first running a simple client program to test that it's working first.
Also adding -Djavax.net.debug=ssl to the java command will help debugging
ssl problems.
Further the 8.0 JDBC driver can create SSL connnections without doing
authentication by adding using an additional url parameter:
sslfactory=org.postgresql.ssl.NonValidatingFactory
You should try to get it to authenticate correctly, but this is another
useful test point.
Kris Jurka
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tino Wildenhain | 2004-12-06 12:43:17 | Re: |
| Previous Message | Konstantin Danilov | 2004-12-06 12:07:20 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew M | 2004-12-06 12:50:29 | Re: SSL confirmation - No trusted certificate found |
| Previous Message | Nicolas Modrzyk | 2004-12-06 11:11:42 | Re: Question reminder |