First of all I like to thank you James, although your research didn't
solve my problem.
But I am a little further: currently I can run the app!
I edited the jets3t.properties: s3service.https-only=false
After that the app runs, But is this a good idea?...
Still I don't understand the following:
If I set: s3service.https-only=true
I can run my java class (S3Uploader.java) to access my buckets.
Also I can access my database on an EC2 instance if I run separately:
DBconnector.java.
But only if I use both java files in one application
(MyApplication.java uses: S3Uploader.java and DBconnector.java)
I get the error mentioned above and I do need to set: s3service.https-
only=false
Can anyone explain?
On 6 mei, 18:45, James Murty <
jamu...@gmail.com> wrote:
> It sounds like the Java cacerts database on your EC2 instance is either
> corrupted, or is outdated and doesn't have the latest top-level CA
> certificates necessary to verify Amazon's certificate.
>
> Alternately, you may be running your app within some software (eg. a web app
> container) which uses a non-default cacerts database?
>
> Regardless of the cause, the solution will be much the same. Identify the
> cacerts database file and ensure it has the latest top-level CA cert used by
> Amazon (Verisign I think?). This problem isn't specific to JetS3t -- it will
> affect any Java-based software that communicates with Amazon's secure
> services.
>
> Here are some links I've googled up which may help:
>
>
http://solutions.amazonwebservices.com/connect/message.jspa?messageID...
>
>
http://groups.google.com/group/typica/browse_thread/thread/db040615f6...
>
> James
>
> ---
http://www.jamesmurty.com