864 byte By
rishidas at 2007-9-26 12:04:01
I am in a fix . I am trying to develop and HTTPSClient in java which will run and get html from this URL https://webqa.mpnr.com/servlet/TestSince this website is served by 4 separate boxes with a load balancer in between . I want to creat a utility which can basically request HTML from each ...
I've created an SSL server and a SSL client that will comunicate with each other over a socket. if I run the applicationswith the -Djavax.net.debug=ssl parameter I can see that the client is starting a handshake with the server however I get the following error.j avax.net.ssl.SSLException: ...
Hiyas,I'm trying to create an SSL connection between a client and server and have had decent luck so far. I was able to create a new keystore (mykeys) with a password (xyz) and I have a SSLServerSocket create a SSLSocket which accepts a SSLSocket connection from a client. So far, so good.Then ...
783 byte By
LoriB at 2007-9-26 12:43:10
I think this is more of a code question than anything, but we are having a very strange problem with our SSL. We are using SSL between an applet and a servlet. The non-SSL code works perfectly if we run it through http in Netscape (4.77) and IE 5.0. Our SSL code works perfectly when run through ...
Hi all,I have installed JSSE 1.0.2 in JDK 1.3.1 successfully.. Everything is working fine. However what I need to do is use JSSE under Visual Age 3.5... (my VA is iv3-4 jdk 1.2.2 (patched.))I am importing three jar files which comes with JSSE but same test programs which works fine with JDK is ...
Hi,I am writing a Java HTTP Proxy(supporting HTTPS) chained to an external Proxy I have followed the procedure for tunneling as per the JSSE Distribution example. However, the CONNECT request is dynamically got from the browser and even the handshake is successfully done. The issue is when I ...
Hi, This is the most Commomly occuring exception, if your are installing JSSE 1.0.2 for the first time and try to the run the sun "Hello World !" example.The main reason for this error in the HelloWorld example is because in the file "RMISSLClientSocketFactory.java" there should be a ...
919 byte By
ezavalla at 2007-9-26 13:11:54
Hi, Forum!I've developed a custom Secure FTP Server over SSL. Due to performance and resources concerns, I'm using the Thread Pooling Pattern in order to proccess incoming conections.The problem with this approach is that the JSSE implementation doesn't impose a time limit for the SSL ...
Is it possible to log into my webmail automatically and fetch mail? Our mail server is SSL encrypted.Thanks.Giri
904 byte By
bvkn at 2007-9-26 13:24:16
I need to write a ssl application which gets authenticated with a server and sends a request to the server. A keystore was given by the server application developers.The keystore has no password. So when loading the keystore i gave password as null. But when initializing the KeyManagerFactory , ...
I am using Windows 2000 !!!I downloaded JSSE-1_0_2-gj.ZIP and extracted its files. Then, using the instructions on INSTALL.TXT copied the JAR files to c:\jdk1.3.1_01\jre\lib\ext and edited c:\jdk1.3.1_01\jre\lib\security\java.securityAfter this, I still cannot "see" JAVAX.NET to use the ...
1017 byte By
vrb123 at 2007-9-26 13:47:36
I am using a https client(via HttpsURLConnection) to send messages to a web server. After sending message, all input/output streams are closed and used disconnect() method to close the connection. Seems disconnect is not working and connections kept on increasing on the web server. Can anybody ...
hi,I am trying to open a SSL socket connection from a signed (verisign certificate) applet to a web server. Applet is run using Java Plug-in 1.3.1 on IE 5.0This results in the following exception:(From the log):Exception in HttpManager.setupSSLaccess denied (java.security.SecurityPermission ...
881 byte By
vyw at 2007-9-26 13:50:18
We changed versions of jsse and now can't do ssl from the client side; we get the "SSL implementation not available" error.We run Java 1.3.0 on aix with JSSE 1.0.2 on AIX. We got the software off the AIX web pages before Java 1.3.0 was officially available on the AIX distribution cd. One of ...
2985 byte By
ethanlam at 2007-9-26 13:51:41
Hi all,Although my question is the same as the QOW for this week, there is an error "unsupported keyword EMAIL" returned when i try to establish a https connection using servlet. The error log is as follow:=====================================java.io.IOException: unsupported keyword EMAILat ...
1415 byte By
vickyk at 2007-9-26 13:59:25
Hi, I have been doing the web programming from the past one year and now I had started working on the security concept.My understading says the data to be send through the network should be in encrypted format.To do so I had planned to write a logic and let it run on the cliens data.Since ...
Hi,I am developing a java client for a web service (IIS 5.0, Windows 2000). I am using SSL for the webservie as a part of security. So on Java side it would be JSSE who will be taking care of the SSL activity. I have installed JSSE and followed all the steps. I have got a verisign test ...
1135 byte By
amit_i at 2007-9-26 14:07:39
hi hers my probsi have a jsp client which has a method which in turnopens an https://antares:7002 connectionand i have enabled Two WAY Authentication for ssl.thro my methodi want to pass client certificate to server in same session, is it possible here is my errorjavax.net.ssl.SSLException: ...
2033 byte By
vyw at 2007-9-26 14:08:43
Are we in trouble if we stick with the Sun reference implementation of JSSE as opposed to finding a commercial implementation?We've been using the Sun reference JSSE implementation (1.0.2) and it works great. We have no need for any capability beyond what it provides. However, the ...
446 byte By
cmmurphy at 2007-9-26 14:09:46
I have an servlet that talks to a secure gateway to get authorizations from a credit card. My servlet worked wonderfully on JDK1.3.1 and JSSE. As soon as I upgraded to JDK1.4.0 Beta3, it broke. It is having a big problem with this line:-HttpsURLConnection connection = ...
Hi!I'm making a system based on a C/C++ server and a Java client talking SSL to eachother. On the server, I'm using OpenSSL, and JSSE on the client (Suns implementation). We have a CA on the server, made also with OpenSSL. I have made certificates for the server and client using this. The ...
487 byte By
seralex at 2007-9-26 14:19:11
Hello friends, Desperate to solve this problem, have searched this forum all over, but haven't found the answer.I have a typicall senario:1. Login page secured with HTTPS.2. On valid login the response is redirected to HTTP (not secure) page.But the redirect caused the session to be lost. I'm ...
Hiyas,Still trying to figure out how to implement SSL with jdk 1.4. I tried outputting all the SSL debug info from the client and server... interestingly enough, they both have the same certificate chain (namely, the only certificate in the chain is the one I created in a keystore ...
778 byte By
glpeters at 2007-9-26 14:27:41
I'm trying to connect to the following site with https: using JSSE. When i try to read from the input stream it seems to be blocked.. i have installed and registered the certificate for this site with keytool. why would the inputstream be blocked?Any help would be greatly approciated,GregURL ...
613 byte By
jordanz at 2007-9-26 14:35:25
I'm at my wit's end. I've searched the net and searched again. Is it possible to write an HTTPS web server in Java? I've got the server working with self-signed certificates, but when I import the certificate from Thawte (or Verisign), I keep getting an exception "no cipher suites in ...
837 byte By
guoff at 2007-9-26 14:41:09
Hi Everybody:I tried to install JSSE1.0.2 on JDK1.3, I followed installationinstruction, put jcert.jar, jnet.jar, and jsse.jar in jre/lib/ext/ and edit jre/lib/securiy/java.security file (add a line: security.provider.3=com.sun.net.ssl.internal.ssl.Provider). When I ran JSSE_install_check.java ...
524 byte By
SKotwani at 2007-9-26 14:43:22
I could run this on Tomcat, but I get a MalformedURL Exception: https not known running under Resin.Anyone know how to solve this?Thanks!java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());System.setProperty("java.protocol.handler.pkgs", ...
When doing SSL Sockets with Client auth, it is not very clear to me how to select which certificate to use in case several are available. While not a very common situation, there should be a way to specify which certificate one wants to use with a particular SSL connection. Any idea, ...
Please help!During the handshake i get a SSLException: fatal, unexcepted message.I'm trying to get a Https connection to an IBM HTTPServer. It works if i'm connecting to the server without client authentication. It fails if i'm using client authentication.I've absolutly no idea what this ...
274 byte By
17121974 at 2007-9-26 14:58:26
Hello all.i work in http session...after i redirect in https(login.jsp)in JavaBean for Login.jsp try get connection with all object or JavaBeans from last http session ...but i cannot do it.:(Where my problem ?Help me please.
766 byte By
ohofmann at 2007-9-26 15:04:58
Hi,I'm using the HttpsURLConnection of j2sdk1.3 within a java client posting messages to a web server. It works fine until the server requests client autentification (Received fatal alert: bad_certificate). Unfortunatelly, I'm not able to get much information out of the SSL debug output, but ...
294 byte By
guoff at 2007-9-26 15:05:59
I tried to use SSL to talk a server, which is a test server and use a self-signed test cert. During the handshake, I got a untrusted server cert chain error. Is possible to set the client side JSSE to trust the self-signed cert of the server? How? Thanks.Fred
Hi!! Everyone,I am Ashwin Philar at the University of Alabama at Birmingham. I am a graduate student of the Computer Engineering Department here.I am doing a project that involves invoking a cgi script invoked using https:// protocol and downloading the files whose names appear on the resulting ...
834 byte By
jimurban at 2007-9-26 15:06:47
I am trying to get a client application to talk to a servlet on Tomcat using SSL. SSL works fine on Tomcat with the browser. However, I get the following error when I run my client program:No such algorithmException: Algorithm SunX509 not available.My code looks like this:KeyStore ks = ...
3334 byte By
archchap at 2007-9-26 15:08:25
Hi JGurus,We have implemented client application for secured sites using SSLTunnelSocketFactory.The code is working fine for www.verisign.com and other sites hosted on netscape enterprise servers.But we are facing problem for sites hosted on IIS 4.0/5.0 Can anybody suggest a work around?Stack ...
4521 byte By
stianba at 2007-9-26 15:09:00
I'm being driven nuts by a problem. I am trying to get the JSSE Hello Worldexample program running. Everything seems to be going ok until I try to runthe client for a second time against the same server as the first clientrun. The second time I get the following stacktrace :HelloClient ...
1875 byte By
tietze at 2007-9-26 15:09:40
Hi.I've run into a hitch with extending our client/server framewotk to optionally use SSL. I want to give users the possibility of configuring the framework to use SSL, if required. So what I've done is added configuration options, among others, for the ServerSocketFactory. I'm using the ...
Hi everybody,I am running the same applet dialogue box in two machine(intranet). So i use the socket program to connect the two computers and send the data.But i found the IP & port denied error when i ran it . I tried to assign the applet to be trusted. But still get error.Please advise me ...
1864 byte By
jimurban at 2007-9-26 15:12:15
Here is my sample SSL client. Can someone please look at it and tell me how to prevent the error: javax.net.ssl.SSLException: untrusted server cert chainThanks,JimPS: I can view the page just fine in IE 5.5. import java.net.*;import java.io.*;import java.security.*;import ...
903 byte By
guoff at 2007-9-26 15:14:34
I have installed JSSE1.0.2 on WebSphere server which sits in Win2000. I have a servlet that talk to another server using SSL. I got an error: java.net.SocketException: SSL implementation not available Debugging tell me:keyStore is : keyStore type is : jksinit keystoreinit keymanager of type ...
Hello!I would be most greatful for a comment to this problem.I have the 3 jar files (jsse.jar, jcert.jar and jnet.jar) in my jre_home/lib/ext. I recive this exception from the Client when it connects to the server:javax.net.ssl.SSLException: untrusted server cert chain And this from the Server ...
335 byte By
jimurban at 2007-9-26 15:20:12
I requested a trial cert from Verisign. When I try to import the cert (keytool -import -alias tomcat -trustcacerts -file ./verisign.csr) I receive the following error: keytool error: java.lang.Exception: Failed to establish chain from replyWhat is causing this, and how do I import my ...
383 byte By
guoff at 2007-9-26 15:27:37
Anybody know what difference between keystore and truststore? There are two system properties: javax.net.ssl.keyStore and javax.net.ssl.trustStore. I am confused at these two stores.Also, java keytool doc says that default access permission of the "cacerts" depends on installing the JDK, What ...
hi,I m using JSSE to connect to the secured site. I have created the keystore to trust the site i m connecting to. But the problem is this works only if put the keystore file in directory of the class. I want to find out the search mechenism followed by JVM to locate the keystore file. So that ...
We are trying to avoid having a client keystore but we want to use SSL is that possible? e.g. can we some how accept server certificates without having to have it in a keystore? It does not matter if the server is trusted or not.I have browsed this forum and not found an answer.Please help! ...
Is there anyway to get around this?Is there an option or setting I can do in the Source file that will ignore the fact that I don't have a certificate? and continue?I'm running jsse1.0.2, connecting to an BEA Weblogic Server.This is the error I get in the output window:Exception in thread ...
1492 byte By
RobF at 2007-9-26 15:57:29
The docs for Socket state that if you use setSoTimeout, then the read() operation will throw an InterruptedIOException when a timeout occurs. This works great. Awesome.However, if you use an SSLSocket instead of a Socket, then instead of throwing the InterruptedIOException, read() returns -1 ...
Hi,I am using https protocol in my web application.Can anybody guide me, how can i switch from https to http, so that i use https only for my login (into my application) request , rest of the request are processed using http only.thanks a lot in advanceSachin ...
689 byte By
karencck at 2007-9-26 16:09:50
i follow the step that was given by this web page to set up an SSL:" http://www.onjava.com/pub/a/onjava/2001/05/03/java_security.html"and i m facing problem with the truststore. i don't have the "lib/security/jssecacerts" and the only file was the cacerts in the ...
Im writing a program to send a form via http secure socket to a web sever. My code works, but the problem is, once it executes, it take about 40 seconds for the 1st line of code to complete. Is there anything I can do to speed this up?Im running j2sdk1.4.0-beta3 (windows98 on PIII 450, 300megs ...