Java Sun Architect

352 byte By sumitprasadsingh at 2007-9-30 17:09:30
Hi All,Actually curretly I am working in Banglore and planning to go for Java Sun Architect Exam. I am already a Sun Certified programmer.Can any one just guide me which centre in Banglore, India is have the authorization for the exam and also guide me with the study material, which I have to ...

This is Weird - Client connecting to Web Service using JSSE and Axis

1148 byte By BlkXtasy at 2007-9-30 17:15:40
I hope the subject tells you what's going on. We've developed a webservice and we must provide external access to client. The security mechanism they have set up here at work goes as follows:1) Client would send a certificate to the server2) Server would get the certificate and send one back ...

weird client-authentication behavior

2485 byte By lee_the_flee at 2007-9-30 17:18:55
I'm trying to enforce client-authentication. Tbe client-certificate I'm using is one that is signed by my own CA created using OpenSSL. Naturally, the CA cert is in my servers truststore.Anyway, I test client-authentication with Tomcat (clientAuth="true"), and it seems to work fine. Using the ...

Difference between Sun and IBM JSSE implementations?

503 byte By vuibert at 2007-9-30 17:30:39
Hi!We have an applet done with Sun JDK 1.4.2-03 which has to connect a domino server in SSL mode.During the handshake the connection breaks down.The most surpising thing is to use IBM JDK to generate the applet, and the applet works.So we are thinking that there are some differences between ...

Can java and VC applications connect with SSL

292 byte By iversion at 2007-9-30 17:40:40
i have a java application which is a server application, and i also have a VC application which is a client application. Now i wanna to have a SSL connection between the java server app and VC client app. How to make it? is it possible to relize the SSL connection between them?

help::algorithm tls not available

817 byte By yourghost_cao at 2007-9-30 17:59:58
i am using the j2se1.4.2.03when i start tomcat ,the error accor:java.io.IOException:algorithm tls not availablelefecycleException: Protocol handler start failed: java.io.IOException:algorithm tls not availablethe server.xml:<Connector port="8443"maxThreads="150" minSpareThreads="25" ...

SSL Socket Error

1716 byte By Dpaq at 2007-9-30 18:21:36
Hello all,I am writting a server application in Java that recieves a file from a client (written in Delphi). The code that reads the file is shown bellow. The code works sometimes, but approx. 50% of the time, I get a "Unsupported record version Unknown x.x" exception. Has anyone encountered ...

Setting Keystore

1950 byte By ashdiusahd at 2007-9-30 18:31:39
Hey,I'm currently writing a server/client pair and would like to use a SSL to pass data between them.I followed the guide (here: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security6.html) to create my key, keystore and cert with the following commands:keytool -genkey -alias ssl-test ...

SSL and line break "\n"

584 byte By ashdiusahd at 2007-9-30 18:39:41
Hey,I have a SSL client/server pair that pass messages between each other. Basically I'm having a problem where any sent message containing a line break are split based on this line break.So if I sent "cheese \n monster \n", the server would recieve it as two different commands ("cheese" and ...

packet capturing

209 byte By nadyathesecond at 2007-9-30 18:48:46
i am developing a firewall and need hel with the developement.I need help regarding1) how to capture packets in java?2) which APIs to use?3) the basic design of this firewaal

How to use URL class instead of Socket

1074 byte By corleone65 at 2007-9-30 18:51:51
Hi all. I am developing a small inventory control system for a warehouse.I am suing a Java desktop application that connects to a servlet via Internet.I have been searching the net how to use JSSE for my application since i am new to secure sockets and JSSE.Since I havent implemented security ...

Tomcat/JSSE configuration problem

670 byte By corleone65 at 2007-9-30 18:52:35
Hi.It is mentioned in Sun's tutorial like this at: http://java.sun.com/webservices/docs/1.0/tutorial/doc/WebAppSecurity6.html#68498If the keystore file is anywhere else, you will need to add a keystoreFile attribute to the <Factory> element in the Tomcat configuration file or specify the ...

setting cipher suites for ssl sockets

317 byte By klsanthanam at 2007-9-30 19:01:29
HiWhile setting cipher suites for ssl serversocket and socket, there may be lot of stream ciphers and block ciphers in the list. (also there may or may not be anonymous cipher suites).How does the ssl socket decide which cipher suite to use?Sorry for this newbie question.Thank ...

Help on using Client Side SSL.

589 byte By jay786 at 2007-9-30 19:05:38
Hi all,I am new to SSL and JSSE. I need to implement SSL, client side authentication.Through my Java client program, I need to connect to the https server. (The client side certificate will be provided by the company latter)How can I tell my client program to use the certificate when connecting ...

How to make a certificate chain

869 byte By Ankit_A at 2007-9-30 19:11:51
Hi guys,I am using openssl to create a certificate chain. For testing purposes, i created a self-signed root ca certificate and created a server certificate signed by the ca. Now I want to create a client certificate (using keytool) and sign it using the server certificate hence creating a ...

SSl Active Directory bind communication exception

1756 byte By hjalli at 2007-9-30 19:23:40
I am having problems with 2000 child-domain server and 2003 stand-alone server and would appreciate if someone has some ideas what the problem is.Pre steps (created a trusted connection - secure LDAP Access)- I installed MS certificate services (Enterprise Certificate Authority)- Edit the group ...

Problem with client certificate

1662 byte By egazi at 2007-9-30 19:23:43
Hello,I am very new to SSL and the certificates world.My problem is the following. I need to access a web server through Java (HttpClient). This is a bank site that uses SSL with server and client certificates. The bank provided me with a certificate password and the first time I entered the ...

https url connection and form based authentication

466 byte By kvprasad at 2007-9-30 19:30:58
Hello,Hope you can help me here. I need to make https URL connection from java class to a servlet. I am able to make the connection but all I am getting is the html of the login page (the servlet is a protected resource).Do you know how can I programatically by pass the login page and then ...

accessing secure web site using digital certs

3932 byte By MissCoon at 2007-9-30 19:32:02
Hello,I am trying to communicate with a secure remote server and download data, and I am having trouble. The log from the remote server says "client passed no certificate". However, I have a valid digital certificate from this site. The certificate works fine in Netscape. I have exported the ...

How to reassigned value in System Property?

1064 byte By java_kt at 2007-9-30 19:32:41
hi all,I have developed a program to consume https web service where the server required client authentication. Therefore, it's required for me to specify my trust store and keystore accodingly. This how i did it.System.setProperty("javax.net.ssl.trustStore", ...

Client ignoring authentication request from server

3645 byte By random_user at 2007-9-30 19:58:36
I齰e been attempting to get XMLRPC working, but I'm having some problems with SSL. For some reason, the client has mysteriously stopped authenticating itself to the server. I had it working, but then it mysteriously stopped working, despite the fact I haven't touched the relevent code in a ...

getting public key

128 byte By palindia at 2007-9-30 20:15:49
Hi Can any one tell me how to get the public key from a digital signature.thanx in advance.-palindia

Client Communicating to Server

351 byte By haroldsmith3rd at 2007-9-30 20:29:56
I am very new to JSSE and had a few questions about it.All the examples I am seeing, the client has the cert and the cert password to get into the keystore. Now what happens if there is a new client w/o the certificate, so it querys the server. How does the server manage to get the client the ...

X509 certificate generation

230 byte By Zalexx at 2007-9-30 20:36:06
Hi everybody!Anyone can explain me how to generate x509 certificated keys without using the keytool?Is there a way to do this?Any help would be greatly appreciated,thank you very very much!!!Alex

Securing FTP with TLS

411 byte By sujay at 2007-9-30 20:40:33
Hi,I am developing a secure FTP client.Is there any free API available in the market which I can be reuseable in my application?If not please provide me some link so that I can develope such API using JSSE API.FYI-I am following the Internet Draft, 齋ecuring FTP with TLS?by Ford-Hutchinson,a ...

What is j_security_check?

223 byte By Kumari at 2007-9-30 20:42:54
I am new to Java and servlet? I am trying to setup a form based authintication. in every example, I find that page is calling for j_security_check. Can anyone please give some light on j_security_check?Thanks,

newbie question- how to "get" a certificate from a web site ?

434 byte By vikingsteve at 2007-9-30 20:49:44
Hi,Excuse my newbie level.I need to connect to an https site (not mine) via a java URL. I understand I must install a certificate in my cacerts file.Question - where do i get this certificate from ? can I download it from the external https site, or must I ask the system administrator ?Or does ...

Problems making SSLServerSockets

1530 byte By Ted_Byers at 2007-9-30 20:50:17
I have tried a couple ways to create these and both give problems.First, I tried using SSLServerSocketFactory.getdefault(), and with this approach to making the SSLSockets, I get the socket factory and the server socket, but when I try to get the SSLSocket in order to get the iostreams to read ...

HttpsURLConnection class cast error

1180 byte By flawlor at 2007-9-30 21:00:49
I have the following code to make an HTTPS connection.I have the JSSE jar at the top of my classpathWhen I run it, I get a class cast error on the last line. I am running inside of IBM's WSAD.How is the IBM version of HttpsURLConnection getting in there? How can I fix this to return the ...

SSL/TLS for FTP connections

965 byte By Dundee31416 at 2007-9-30 21:01:08
I've built somekind of advanced ftp server, and i would now like to add SSL or TLS on the server.Implementing implicit SSL is easy. I used some SSL sockets, and everything was working fine.But if i want to use TLS or explicit SSL, i have a problem.With an SSL socket, any attemps to read/write ...

RMISocketFactory for SSL and Compression

226 byte By rdifalco at 2007-9-30 21:09:00
Can anyone point me to some source on creating an RMISocketFactory that uses JSSE and compression? I actually have an RMISSLSocketFactory, very easy to create, but didn't know the best way to add compression.TIA

RSA premaster secret error

8696 byte By evl at 2007-9-30 21:10:33
Hello,I'm developing a java tls ftp client. When I run it on my powebook (jdk 1.4.2_05) this works fine, however when I try to run the same code against the same server on windowsxp (jdk 1.5) I get an " RSA premaster secret error". My code is a slightly modified version of the code found in ...

Can java's SSL socket talk to OpenSSL?

390 byte By erv2 at 2007-9-30 21:24:01
Hi,I was given a task to write a demo app to create a SSL connection between java client and a C server since that's the model of our company's software.i am not so sure if java's built-in ssl socket can talk to the OpenSSL library?could anyone give me some help on this?if you could provide ...

Host name wrong IOexception in HTTPS

1224 byte By erv2 at 2007-9-30 21:45:03
Hi everyone,my little HTTPS client works on www.sun.com, www.microsoft.com ect. but if i set it to access localhost (or "troy" which is the name of my machine), it gives me the following exception:bash-2.05b$ java -Djavax.net.ssl.trustStore=key1 HTTPSclientjava.io.IOException: HTTPS hostname ...

Basic SSL

663 byte By hughsimons at 2007-9-30 21:48:29
Hi all,I havn't had much to do with SSL previously, so i just wanted to check;To send data as HTTPS, all i have to do is:SSLSocketFactory factory = HttpsURLConnection.getDefaultSSLSocketFactory();SSLSocket s = (SSLSocket)factory.createSocket("loginnet.passport.com",443);OutputStream out = ...

How to Use A SSL Connection Transfer Plain Data

323 byte By haohang at 2007-9-30 21:49:07
A old applcation use Open-ssl transfer Data .I want rebuild it with Java JSSE .But A question is puzzle me very much.I want use a ssl connecttion transfer crypt data and plain data sometimes. As the old application do.Somebody Help me. Thanks lot. haohang,China 2004 .11. ...

Disabling server authentication

832 byte By CrocodileShoes at 2007-9-30 21:58:15
Hi,I need to disable the server authentication stage of the SSL handshake protocol. I'm only interested in authenticating the clients you see.Does anybody know how to do this?According to the JSSE documentation, it is possible"3 - Certificate - The server sends the client a certificate or a ...

JDBC + SSL

2584 byte By gENtLe@SAL at 2007-9-30 21:58:22
Holla! I'm trying to establish a SSL-connection to a mySQL-Server and get this Exception - for that I havn't found an explanation in the internet at all:JDBC Driver loaded!Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/net/ssl/SSLSocketFactory (Unsupported ...

Questions Questions Questions - ALL BASIC

233 byte By wontquit2004 at 2007-9-30 21:59:08
1) Whats a good beginners book for this? / resource?2) If you are implementing SSL in ur j2ee application and you enable SSL on server... isnt that enough..3) What are keytools? How does the keys work? (***?****)

Multithreading

225 byte By vasaninj at 2007-9-30 22:00:23
I am using java- mysql . I want to create a timer which checks for continuously for the new data, and I want to create the number of the threads as upto the new number of records.Plz Help me.Nilesh Vasani

SSL Cipher Suites

288 byte By Dundee31416 at 2007-9-30 22:14:12
All my problems are solved. My SSL things are working fine. Only one lil problem left.I downloaded the Unlimited Encryption pack.So i now have 256bits encryption suported in "getSuportedCipherSuites".But they arent enabled. And i dont know why.Any idea?

Sending certificates

146 byte By CrocodileShoes at 2007-9-30 22:16:27
Is this something that has to be done programatically, or can you do it automatically somehow eg via signing a jar file with a certificate?

HttpURLConnection.connect() takes long time (3 minutes)

7209 byte By penfeld at 2007-9-30 22:18:51
I'm stumped on an unusual problem. I'm running java 1.3 and Apache JServ (don't ask, I inherited this set up), using JSSE. One of the things we do with our app involves some xml communication over SSL.Starting last week, the time for the SSL communication jumped from about 15 seconds to ...

.net and .io are not supported by browsers then whats the way out

387 byte By chidanand at 2007-9-30 22:36:11
I have a multicastsocket and listening ports now I am building an online chat application with appletThe applet is accessing classes importing java.net n java.ioBut browsers(mozilla, ie) don't support these packages for security reasonsSo I was suggested to use certificates but I couldn't ...

SSL Socket Problem

3212 byte By Philipp_Hertel at 2007-9-30 22:43:04
Hi,I am trying to program a multithreaded server. Each thread polls its own socket. If data is available on the socket, it processes the data. If not data is available it goes to sleep, allowing other threads to poll their sockets. The code follows:public void run() {SSLSocket socket = null;try ...

Expired Certificate Problem

9308 byte By flawlor at 2007-9-30 22:45:45
I'm new to SSL so I would appreciate it if someone could explain the **detialed** steps to resolve the following problem. If I need to add or modify some certs how do I do that?I am testing this using JDK 1.4.4 and tomcat 4.1.27.I can connect to the test HTTPS url using IE but when I try the ...

How to validate user's digital signature by ClientAuthentication?HELP

474 byte By salelolonga at 2007-9-30 22:47:18
Hello,My Problem:By client-certificate-based authentication the first step is to prove "Does user磗 public key validate user磗 digital signature?". How can I prove this on the ServerSide manually, resp. I want to verify it with java classes on the server side additional to web-server. Actually ...

InputStream.read() throws SocketTimeoutException on lost SSL conn, not -1

1828 byte By ianstevens at 2007-9-30 22:51:03
I have implemented "non-blocking" SSL socket communication which largely mirrors that described at http://50001.com/language/javaside/lec/java_ibm/%BA%F1%20%BA%ED%B7%CF%20%BC%D2%C4%CF%C0%B8%B7%CE%20%B0%A1%B4%C2%20%B1%E6%20(%BF%B5%B9%AE).htm. However, if a connection is not explicitly closed by ...

Trying to implement EAP/TLS using java (as part of RADIUS server)

14048 byte By bjornS at 2007-9-30 23:10:28
HiThis is a cross port since I didn't know which forum to post in!I'm trying to implement a RADIUS server (EAP/TLS) as part of my master thesis. I'm not used to Java SSL libraries and can't get it to work. The server will respond to an accesspoint that uses 802.1x. I have created ...

Disabling Certificate Validation in SSL Sockets

166 byte By hate12sja at 2007-9-30 23:42:02
I followed the examples on this site. http://javaalmanac.com/egs/javax.net.ssl/TrustAll.html?l=relI was wondering will this work with SSL Sockets?