please help with this singing issue

M

mattvenables

i've posted here before on this subject but haven't been able to get a
solution, and i desperately need one. here's my deal in the most
detailed form as possible:

i'm running two JARs - one with the actual functions and the other one
runs a bunch of test functions (i.e. a.jar, aTest.jar).

my command is (using j1.4.2_08) "java -cp a.jar;aTest.jar
com.x.test.AES" the class i am calling (test.AES) is in aTest.jar which
calls a.jar's AES crypto function.

java returns the following: "JCE cannot authenticate the provider ...
Caused by: java.util.jar.JarException: file:/.../a.jar is not signed by
a trusted signer."

i've tried several different ways of signing a.jar, but none have
changed this error message.

first, i made self-signed certificates and used jarsigner on the jar.
didn't work.

then, i recompiled, and used thawte's test certificates (from their
website), but that didn't work.

then, i recompiled, and attempted to use two certificates (jceroot.cer,
jce_code_signing_ca.crt) that came included with the source code to
sign the jars. i attempted adding them to my cacerts individually and
singing, but to no avail.

any ideas? i DESPERATELY need help. thank you.
 
A

Andrew Thompson

..any ideas?

- Capitalise the first letter of the first word of each sentence
to make it easier for the reader.
..i DESPERATELY

- Refrain from SHOUTING at the reader.
..need help.

- Try not to sound needy, people are less likely to help you.

Further..

(from earlier)
..didn't work.

- Avoid vague comments like this, as they are more likely to
elicit responses to the effect of 'lazy, is it?'.

- Provide the *exact* input and output..
thank you.

You're welcome.
 
M

mattvenables

i hope there is someone out there who isn't in a bad mood who might be
able to answer my question. i am truly looking for help and would be
extremely grateful for any guidance... not criticism.
 
M

mattvenables

i don't really know what you mean. can you please try to help and stop
criticising for no apparent reason? or is there a bigger issue here?
 
I

iksrazal

Its not that people are in a bad mood, its simply that questions need
to be asked in the right way. If you're too lazy to read up on how to
ask questions and post specific, short questions, often people will be
too lazy to help you. Furthermore, when people give advice, either
follow it and post back what happended, or except that often people may
just not know how to help you.

iksrazal
 
M

mattvenables

look, im not trying to discuss why people arent helping because they
are. one person criticised and that's that. my real question is the
first post. please respond to that.
 
V

Virgil Green

mattvenables said:
i've posted here before on this subject but haven't been able to get a
solution, and i desperately need one. here's my deal in the most
detailed form as possible:

Not quite.
i'm running two JARs - one with the actual functions and the other one
runs a bunch of test functions (i.e. a.jar, aTest.jar).

my command is (using j1.4.2_08) "java -cp a.jar;aTest.jar
com.x.test.AES" the class i am calling (test.AES) is in aTest.jar
which calls a.jar's AES crypto function.

java returns the following: "JCE cannot authenticate the provider ...
Caused by: java.util.jar.JarException: file:/.../a.jar is not signed
by a trusted signer."

i've tried several different ways of signing a.jar, but none have
changed this error message.

first, i made self-signed certificates and used jarsigner on the jar.
didn't work.

Command used?
then, i recompiled, and used thawte's test certificates (from their
website), but that didn't work.

Command used? How did you use the cert?
then, i recompiled, and attempted to use two certificates
(jceroot.cer, jce_code_signing_ca.crt) that came included with the
source code to sign the jars. i attempted adding them to my cacerts
individually and singing, but to no avail.

It's spelled "signing", though I have to admit that the only reason I read
this thread was to find out what was so hot.

But, again, what did you do, exactly, to attempt to make these signed jars?
any ideas? i DESPERATELY need help. thank you.

More details, please.
 
V

Virgil Green

mattvenables said:
i don't really know what you mean. can you please try to help and stop
criticising for no apparent reason? or is there a bigger issue here?

Bigger issue? Yes. You are in a place with a specific culture and aren't
make visible effort to fit in. You've been told what kind of behavior is
best for obtaining the best possible results, but don't seem to want to be
bothered with it.
 
V

Virgil Green

mattvenables said:
i've posted here before on this subject but haven't been able to get a
solution, and i desperately need one. here's my deal in the most
detailed form as possible:

i'm running two JARs - one with the actual functions and the other one
runs a bunch of test functions (i.e. a.jar, aTest.jar).

my command is (using j1.4.2_08) "java -cp a.jar;aTest.jar
com.x.test.AES" the class i am calling (test.AES) is in aTest.jar
which calls a.jar's AES crypto function.

java returns the following: "JCE cannot authenticate the provider ...
Caused by: java.util.jar.JarException: file:/.../a.jar is not signed
by a trusted signer."

i've tried several different ways of signing a.jar, but none have
changed this error message.

first, i made self-signed certificates and used jarsigner on the jar.
didn't work.

then, i recompiled, and used thawte's test certificates (from their
website), but that didn't work.

then, i recompiled, and attempted to use two certificates
(jceroot.cer, jce_code_signing_ca.crt) that came included with the
source code to sign the jars. i attempted adding them to my cacerts
individually and singing, but to no avail.

any ideas? i DESPERATELY need help. thank you.

In addition to my previous questions, have you visited this link?
http://java.sun.com/docs/books/tutorial/jar/sign/index.html
 
M

mattvenables

When was I told? In this post. Since I can't *edit* my post, I have to
leave it, don't I? When else have I been told?
 
M

mattvenables

Yes, I've been through that a whole bunch. Thank you for getting back
on topic
 
V

Virgil Green

mattvenables said:
When was I told? In this post. Since I can't *edit* my post, I have to
leave it, don't I? When else have I been told?

In Andrew's first response.
 
V

Virgil Green

mattvenables said:
Yes, I've been through that a whole bunch. Thank you for getting back
on topic

Sorry to have to tell you this, but you took it off topic. Andrew's first
response contained some pointers about posting and then asked you for more
details and *exact* request/responses from your test cases. Rather than
doing what was asked, you took it down the road of "stop being rude". Simply
ask a better question so we aren't guessing at what's happening in your
world and things will get much better very quickly.

I have to note that you didn't respond to any of my questions in my previous
post.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top