G
G. Garrett Campbell
I am having trouble posting data via https:
I am attempting to log into remote sites with a user/password.
I can get the login page vis https: with jre 1.5 or 1.6. In deed it looks
like the jre is doing the
handshakes and decryption.
But when I construct the post, it fails.
1. I did check the cookies and set those to the values returned on the log
in page
(Do these get encrypted?)
2. I wrote a servlet to display the cookies and post data. They look
correct.
(I downloaded the login in page, changed the https reference to
http://localhost:8080/ etc.
This actually test any javaScript on the page.)
I have read various comments on the web from 2001, 2002, 2003 saying that
java version
1.3 uses the browser to manage the https process.
Does any one have an idea how to disable the JSSE stuff in jre 1.5 or 1.6 so
that I can test that
old procedure?
Any ideas on comparing the browser https exchange and comparing in to the
jsse transmissions?
Could the remote site be detecting the transmission from jre and saying "I
don't like communicate
with java, I will disable the post!" Doing the transaction via the browser
is OK.
How is the posted data encrypted? Do I actually need a local certificate?
The browser does not
seem to need anything special.
___________
I is especially had to diagnose something which is encrypted!
Thanks for any suggestions
Garrett
I am attempting to log into remote sites with a user/password.
I can get the login page vis https: with jre 1.5 or 1.6. In deed it looks
like the jre is doing the
handshakes and decryption.
But when I construct the post, it fails.
1. I did check the cookies and set those to the values returned on the log
in page
(Do these get encrypted?)
2. I wrote a servlet to display the cookies and post data. They look
correct.
(I downloaded the login in page, changed the https reference to
http://localhost:8080/ etc.
This actually test any javaScript on the page.)
I have read various comments on the web from 2001, 2002, 2003 saying that
java version
1.3 uses the browser to manage the https process.
Does any one have an idea how to disable the JSSE stuff in jre 1.5 or 1.6 so
that I can test that
old procedure?
Any ideas on comparing the browser https exchange and comparing in to the
jsse transmissions?
Could the remote site be detecting the transmission from jre and saying "I
don't like communicate
with java, I will disable the post!" Doing the transaction via the browser
is OK.
How is the posted data encrypted? Do I actually need a local certificate?
The browser does not
seem to need anything special.
___________
I is especially had to diagnose something which is encrypted!
Thanks for any suggestions
Garrett