I have been battling with an issue for more than 3 weeks now, a week ago I contacted the vendor for support and am paying them for it. Basically what I told them was, I can get this code to work from the command line, but when I call the class via your application server I get an error. Well, today while on the phone with them I deleted all certificates from my keystore and tried to import it again, and I have not been able to get it working again, which is making me look very bad as they have spend lots of time on it.
My question to you is, can someone please verify that they can get the code working with the certificate? Even willing to pay a little money to get this done..
I know very little about Java and SSL, so if you see something thats not right let me know.
Once again, at this stage I am interested to see if someone can get this going from the command line without getting the error "Certificate not found", and then I am interested in seeing step by step how you got it working.
many thanks in advance.. [ August 01, 2005: Message edited by: Jim Yingst ]
Also you forgot to include [code] tags. Unindented code is painful to read. I have edited your post to put in the code tags and preserve your indentation. Unfortunately you also have several overly long lines which impede readability (see how the whole page is forced to be the width of your longest lines?). I have inserted some line breaks into the worst offenders, but many lines are still too long to be readable, I think. Also in several places the indentation is nonsensical (which may be why it was omitted in the first place). And, really, the whole thing is too long for me to want to take time to analyze it carefully to see what's going on. Isn't it possible to reduce this code to a small portion which is actually throwing the error? OK, it's true that if you make it too small we'll probably turn around and ask for more code as context. But right now there's just too much... stuff there. Perhaps someone else will want to carefully analyze it, but for me it's late and I'm about to go to sleep, so I only have time to criticize your formatting. Note that you can edit your post using the little pencil-and-paper icon near the top of the post. Cheers... [ August 01, 2005: Message edited by: Jim Yingst ]
"I'm not back." - Bill Harding, Twister
Joined: Jul 11, 2005
Point taken - tried to edit the code, but there really is not much I can delete, except comments.
If someone would look at this I would think they would just copy and paste it into their favourite IDE.
Joined: Jul 11, 2005
PS. those really long lines really cannot contain a space otherwise the message would be invalid and the test would not work.