1712 byte By
ede22a at 2007-9-29 19:33:07
Two Verisign Certificates in the jdk 1.4 keystore 'jdk1.41/jre/lib/security/cacerts' expire on Thu Jan 08 2004.They are stored with alias 'verisignclass2ca' and 'verisignclass3ca'.A Weblogic Server Message looks like this:<Dec 16, 2003 5:39:13 PM CET> <Notice> ...
I'm using JSSE 1.0.3_01 and getting a strange exception when I make certain SSL connections.The exception looks like:Exception in thread "main" java.io.IOException: java.io.IOException: java.lang.NullPointerException: at ...
268 byte By
@cfooa at 2007-9-29 19:46:31
I am not able to connect using Java socket class via NAV or proxyserverSocket = new ServerSocket(ip, port);Any ideas on how to get the connection working? Is there any other classes that able to establish connection through a proxy or NAV? Thanks.
Hi all,Could anyone please tell me if it is possible to run a socket based server on the port which is already in use by the other applications.ThanQRgds,Balu.
I am getting the following error and am wondering how to add the correct cipher suite to java so that I can use my newly signed Thawte certificate?javax.net.ssl.SSLException: No available certificate corresponds to the SSL cipher suites which are enabled.I have followed the directions and ...
Hi all,I was wondering if there is a way to enable client authentication on an ssl socket based on the http get string? e.g. Someone goes to https://127.0.0.1:443/nonauth and will be operating over a standard ssl connection, however if they go to https://127.0.0.1:443/auth, the handshake will ...
Hi ,I written a server class that simply writes the numbers and the client simply reads those numbers and prints them. When I run the both client and server on tha same machine there is no data loss found. But when I run the server on different machine than client I found heavy dataloss.(while ...
Hi Everybody,I have suffered a problem in using IAIK JCE 3.02 together with JSSE 1.0.1 in IBM Websphere Application Server environment. In Websphere environment, I have imported jsse.jar, jcert.jar, jnet.jar and iaik_jce.jar in the CLASSPATH. The problem seems that the internal classes have ...
Hi,When I open the tomcats index.jsp before opening the SSL certificate warning must be displayed.How to do this ? I read out an OReaily article on tomcat going in via the SSL but since it was given for unix I am unable to get it in windows how?How to do the same in windows?Help pls!Thanks in ...
Ok, I read the JSSE doc and understood some things, but others are stil... cryptic... to me.I'm just training using the simplest program possible.Code for the server:import java.io.*;import javax.net.ssl.*;public class server { public static void main(String[] args) {int port = ...
1430 byte By
jdd118a at 2007-9-29 20:39:29
Overview: I need to make an Applet communicate with a server using an SSLSocket and I can't figure out how to include a truststore when running the applet in a web browser. Background:The applet communicates perfectly using regular non-secure sockets. I am now porting it to use secure sockets ...
2618 byte By
shameea at 2007-9-29 20:48:31
Hi, I tried to access a secured page using the httpunit APIs .But its giving the ConnectException. Here i give u the stacktrace of the Exception. FYI, Iam able to access the other http sites properly. Please help me in this issue.Thanks in advance!!java.net.ConnectException: Connection refused: ...
When using JDK1.4.1_03 do I really need to deal with the following:java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());System.setProperty("java.protocol.handler.pkgs", "javas.net.ssl");The reason I ask is that I have seen this or variations of it in many of the posts ...
451 byte By
A.K.M.a at 2007-9-29 20:52:59
Hi! I'm writing a web app, deployed in Tomcat. It accesses some remote resources via SSL, so it connects to a server and must check server's certificate against one in trust store. I'm a bit confused about where to put the trust store file. Now I use a config file to specify the location of ...
434 byte By
cpallaba at 2007-9-29 20:54:30
Hi,I'm doing some work to have AES bulk encryption over SSL. But each time I’m using the SSLSocket server and client program to establish the session on SSL link the cipher suite used, returned as TLS_RSA_WITH_AES_256_CBC_SHA.TLS and SSL are not same, I’m not sure if it exactly ...
Hi,I'm experiencing some odd behavior in diffrent versions of the java-platform on Solaris 8 and windows. This is my trivial test-program:import java.net.*;import java.io.*;public class curl{ public static void main(String[] args) {try{URL url = new URL(args[0]);BufferedReader buf = new ...
508 byte By
jobleea at 2007-9-29 21:09:46
posted January 11, 2004 11:46 PM --I can visit the web page with IE --https://www.chinatrust.com.tw/cgi-bin/prod/jsp/ch/home/default.jsp when I try to connect it with java , I get exception .javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException:Could not find trusted ...
3994 byte By
xaliena at 2007-9-29 21:11:40
hi all, I'm not able to use SSL under Tomcat. When I start catalina I receive the following message:C:\Programmi\Apache Group\Tomcat 4.1\bin>catalina.bat run -securityUsing CATALINA_BASE:C:\Programmi\Apache Group\Tomcat 4.1Using CATALINA_HOME:C:\Programmi\Apache Group\Tomcat 4.1Using ...
184 byte By
jennyhua at 2007-9-29 21:13:05
Hi,I am getting me familiar with keytool, when I used keytool -list, it doesn't show the valid date of the cer. How can I know if the certificate is valid or not? Thanks
421 byte By
jennyhua at 2007-9-29 21:13:25
Hi,If I want to connect to https://www.xyz.com, and when I go to https://www.xyz.com and view their certificate, they have Verisign Class3 Public Primary CA, www.verisign.com/CPS, www.xyz.com. From reading the earlier posting, I need to export these to my computer and add them to my trusted ...
563 byte By
jobleea at 2007-9-29 21:15:39
why do i get the error message ? how to decide it ?--SSLSocket socket = (SSLSocket) factory.createSocket("www.chinatrust.com.tw",443);boolean client_use = socket.getUseClientMode();boolean client_auth = ...
1993 byte By
ad06a at 2007-9-29 21:17:04
Hello,I am facing a strange pb for me maybe one of you could be lighted me.I need to test if the https works well to do that I just try to retrieve the header of a web page already existing on my server (and I know this page works as I can access it through IE or netscape) and see what the ...
2795 byte By
fjleona at 2007-9-29 21:24:49
Hi guys i realize this is the most talked question about jsse, the validation of local certificates.I found a 2001 o'reilly page where they explain what is jsse and gives a complete tutorial of it.It comes with a sample secure http server and browser, and when i try to connect to the server ...
964 byte By
cpallaba at 2007-9-29 21:45:11
Hi,I need a small help. In weblogic7.0 when I set Ciphersuites="TLS_RSA_WITH_AES_128_CBC_SHA" at config.xml file, the server console shows :<Alert> <WebLogicServer> <000297> <Inconsistent security configuration, ...
Is it possible to save keyStore in PKCS12 format or it is not implemented yet?Thanks
The program below is attempted with an iSeries(V5R2M0) via QShell.All of the proper installation procedures have been done for JSSE. The program worked prior to an upgrade (V5R1)... but now has stopped working. The error message really gives us no clue:"The value specified for the argument is ...
4494 byte By
akloppea at 2007-9-29 22:04:51
Currently I'm finalizing my test implementation of the JAAS/GSS implementation (via Tutorial). One thing I seam to be suck on right now is having the server-side/service authenticate (as a service with krb5/SEAM) with a given principal using its entry in krb5.keytab. The impression I'm ...
2475 byte By
fjleona at 2007-9-29 22:05:56
I am trying to add ssl support to my existing small chat program.It's a server using port 6666 which waits for clients connect to it, assign some values and make the clients be able to send messages to themselves, registering which one is talking to each, and handling the disconnections,etc ...
OS : UNIX Red Hat 7JDK : 1.4.2_03I am trying to generate a .keystore file with the keytool command from a Shell.But after having validating the questionnaire and before it asks for the alias password, it gets stucked,nothing happen, not even an error message .And with Windows 2000, i have no ...
463 byte By
hugogusa at 2007-9-29 22:09:57
Hello everybody, Here is my request:I would like to let users choose (via a GUI) the parameters of the TLS connection he's about to make. For example, I would likt to let him choose the encryption algorithms, the signature algorithms, and so on. I would like to do this in order to enahnce ...
21158 byte By
fjleona at 2007-9-29 22:14:15
I have tried practically everything and i still can't get a ssl client and server to properly connect. When running both with debug turned on, i get the following errors:On Server:mac:~/Desktop/SO_ssl/Servidor espectro$ java -Djavax.net.debug=ssl:handshake Servidor &[2] ...
I have server and client environment which I have tried to transform to use secure connection.SSLSocket connection between server and client is up, but when I try to use inputstream.available() method it always returns zero.If before calling .available method, try read a mark from the stream ...
820 byte By
hugogusa at 2007-9-29 22:30:54
Hello everybody, There's something I don't understand in JSSE. For a specific connection, it is possible to set the enabled protocols as well as the enabled cipher suites. I don't understand the differences between both, and especially when I see that a cipher suite always starts with "SSL" ...
Hi Im just wondering is anyone can tell me if JSSE is included in j2sdk1.4.0_01 or is it just in j2sdk1.4.2?Kind Regards,Aidan.
1094 byte By
drob18a at 2007-9-29 22:43:27
First, I should state that I have been able to get my application to work in Tomcat and run on it's own, but not in WebLogic.Has anyone used Sun's JSSE implementation from within WebLogic? Is it possible to do so?I have set the following ...
Please help. If I put these files under $JAVA_HOME/jre/lib/ext directory, my application which has a SSL module works. If I take it out it breaks but some other tool from some other vendor works. I want both things to work so somebody suggested to put all JSSE jar files in my application jar ...
461 byte By
keeffea at 2007-9-29 22:58:56
I want to create a keystore dynamically in a program and have it stay on the system after the program exits. KeyStore is not serializable so I can't use and ObjectOutputStream on it. Any ideas? I have to create it in the program, not using Keytool, as the certificates being entered are not ...
Hello,does anybody has an idea how to compare two certificates, e.g. which is the unique combination of certificate's attributes.
Good afternoon,I've been trying to invoke a https URL from a Web Server which requires a client certificate to be sent. I've been able to call many other https URLs using JSSE with no problem. The only issue here is that the server requires the client to present a digital certificate and I ...
Hello Everyone, At my wits end and behind my project plan. I need to secure my server. I have generated a keystoreExported certificate into CER fileImported this certicate into the JAVA_HOME/lib/security/cacerts file. I have my JBoss secured on port 8443. Here is m client code import ...
Hello,I try to test a https connection. My method is to accept all kind of certificat.Under Windows this code works well and return true when Itest the https connection but under Unix it returns false.Why if I accept all certificat , that does not work?Thank for any light. /** * Test the web ...
Desparate for help!!I intend carry out a thesis project on Security of architecture by designing a Java programme to block Spams- Client side!I am very desparate for ideas on how I can go about this project. i am still writing a proposal but it would entail details on TCP/IP, socket Programming ...
375 byte By
i_2a at 2007-9-29 23:15:57
Has anyone run into a problem of a POST request being sent twice on one call - the first time the data is sent without request for authorization and the second time with authorization information. Using a net mon I see the two Posts in different frames which besides confusing Oblix is a ...
I have encountered a strict https server that can only do SSLv3, and I'm having trouble connecting to it. I've tried a number of workarounds with jdk 1.3 and 1.4.1. Is there a way to disable TLS in jdk 1.3?2. Is there a way to limit SSL resumes: by time, or when they fail?3. Is there a ...
580 byte By
d00sinta at 2007-9-29 23:35:59
Hello, I have a client that should talk to an applicationserver with an XML protocoll. I've got an SSL connection up and can send data from the client to the server no problem, but my XML parser method takes a stream and parses until the stream closes. However, if I run outputstream.close(), ...
Hi there,I am trying to build a CA of my own and distribute a certificate to each user. Since my system is intented to be a distributed one, in order to do some stuff, each user need to send his certificate to the server for verification. Here my puzzle is: how can a user send his certificate ...
Hi everyone,Can someone of you tell me how to implement ssl in weblogic environment?
Hi,please take a look at my code and help me figure out what is wrong.import java.io.*;import java.net.*;import javax.net.ssl.*;public class MyKeyServer {public static void main (String[] args) throws Exception{System.setProperty("javax.net.ssl.keyStore", ...
1537 byte By
swh_twa at 2007-9-29 23:58:14
Hello! I'm making a https call to an internal server (developed by another group) to retrieve some information. I have a unit test which works fine. However, I'm having a problem with my cactus delegate testing. I'm running under WebSphere App Developer 5.0. I'm getting the following ...
Hi,I am getting the error "untrusted server cert chain" when the belowprogram is run on java "version "1.2.2" with JSSE 1.0.3_02.can somebody throw me insight what is going wrong here ?ThanksJack/* * @(#)URLReader.java1.1 99/10/06 * * Copyright 1995-1998 by Sun Microsystems, Inc., * 901 San ...