Hi,

Could be that this has to do with the server certificate not beeing
trusted by your java process.
Check if the sever (hangstrap.iriscouch.com) has a valid certificate
and that the root ca cert and any intermediate ca certs is in your
trust store.

Some browsers will auto-magicaly download the intermediate ca certs or
it could be that you have the proper certs installed in your
browser/OS but not in the Java trust store. This might be the reason
that it works in the browser.

I could not access the server so I could not verify server certificate.

Just my $0.02
// Pontus



On Sun, Mar 17, 2013 at 10:17 PM, hangstrap <hangst...@gmail.com> wrote:
> Hi
>
> I have been trying to use camel-couchdb to send data to a couchDb datastore
>
>
> My code looks like
>
> .to(
> "couchdb:https://hangstrap.iriscouch.com/test?username=hangstrap&password=****";);
>
> When the code runs a get a  javax.net.ssl.SSLPeerUnverifiedException: peer
> not authenticated exception
> from the CouchDbClientBase.executeRequest method.
>
> However, when I past the url
> https://hangstrap.iriscouch.com/test?username=hangstrap&password=**** into
> my browser I can connect to my couchDB without problems.
>
> Any ideas what I am missing out?
>
> Thanks
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Couchdb-peer-not-authenticated-exception-tp5729323.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to