Need a good FTP/SSL client

232 byte By sledge_hammera at 2007-10-2 0:19:20
Hi,Can anyone suggest a good FTP client with SSL capabilities. I was looking at Jakarta's FTP Client but I don't think it works on SSL. Has anyone used edtFTPj/SSL? Are there any other such FTP clients?Thanks.

ssl empty certificate chain? (correct message format)

56710 byte By DomMona at 2007-10-2 0:19:41
I am having Problems with client certificate/setup.I have a client behind proxy that connect to Web Services.I have only a client certificate that I import (use keytool) in my keystore.I have this setting in my program:Security.addProvider(new ...

JSSE Source Code

1039 byte By Mark_Ziesemera at 2007-10-2 0:28:11
Is there any chance to get access to the source code for JSSE? All I could find are the "stubs" from the SCSL (Sun Community Source Licensing) download for the JDK. I'm mainly interested in the source for JDK 1.5.The "stub" source files contain this note:/* * NOTE: * Because of various ...

HELP:: jsse1.0.3 problem with jdk1.3.1(java.lang.NoClassDefFoundError)

1703 byte By emukanga at 2007-10-2 0:31:22
Hi,I am now working with jsse1.0.3 and jdk1.3.1(I can not use the new jdk version, because the system I developed is based on jdk1.3.1). what makes me strange is that I can compile my program without problem, but when I run it, it always report error.my source code is :import ...

Socket method

484 byte By tricolora at 2007-10-2 0:40:33
Somebody can help me?I have seeing the class socket and I noticed that some methods can configure some specifications like Timeout, Buffer Size,Keep_Alive, etc..Are these configurations is changed only for the application running in Java or is changed for all alpplications?For exemple, If I ...

Using ssl with applet

69 byte By P@nd@a at 2007-10-2 0:47:50
Is it posible to use SSL with an applet?Thx in advance.

Pre-Shared Key (PSK) ciphersuite support?

614 byte By Peter.Nicholsona at 2007-10-2 1:01:48
Hello,I have an application that needs to implement the TLS_PSK_WITH_AES_128_CBC_SHA ciphersuite, as described in the internet draft : http://tools.ietf.org/wg/tls/draft-ietf-tls-psk/draft-ietf-tls-psk-09.txtThis is an internet draft, but is scheduled to be an RFC soon.My understanding is the ...

Problems reading an SSL server socket stream using readByte()

4508 byte By mcop1a at 2007-10-2 1:08:29
Hi I'm trying to read an SSL server socket stream using readByte(). I need to use readByte() because my program acts an LDAP proxy (receives LDAP messages from an LDAP client then passes them onto an actual LDAP server. It works fine with normal LDAP data streams but once an SSL data stream is ...

Older JSSE source?

190 byte By bellwethra at 2007-10-2 1:09:19
Are previous versions of the JSSE source available for download? I'm attempting to get JSSE running on a WRT54G, but need an older version that doesn't use templates and generics...

SSL with 3rd party software?

164 byte By Vortexxa at 2007-10-2 1:29:08
Hi all,Can JSSE be used on the client side in conjunction with 3rd party (server side) software that requires SSL mutual authentication? Thanks

HttpsURLConnection ClassCastException - Solution Does Not Work

2054 byte By greg_lafrancea at 2007-10-2 1:46:35
I've seen several posts about using the HttpsURLConnection class and getting a ClassCastException. I've seen many suggested solutions related to backward compatibility. Here is my situation that is not working, and I ask for advice on how to proceed.Here is my code:import java.io.*;import ...

secure & nonsecure popup

543 byte By austinitea at 2007-10-2 1:53:11
I'm getting the popup "This page contains both secure and nonsecure items. Do you want to display the nonsecure items?".This popup happens when the user downloads the applet from the server. How can I get rid of that popup?By changing the code within the applet itself, I've verified that the ...

httpclientarchitecture

140 byte By kishoregwna at 2007-10-2 2:04:48
how to develop httpclient architecture .pls help me.if possible pls provide the code for me.thanks &regards kishore

how to develop a servlet (by using sockets)

267 byte By kishoregwna at 2007-10-2 2:18:30
i am develop client application in java.i am sending request to server .how todevelop a servlet to proccess the request from the client and send it back to the same client( same port no).pls help me.pls give me the code .Thanks&Regardskishore

Why throwing java.net.MalformedURLException

637 byte By harry_singha at 2007-10-2 2:37:14
Any body knows why it 's happening? I am trying play a .wav file in my applet...Thanks in advancetry{URL address = new URL(" http://someURL:8881\\belclang.wav");}catch (Exception e){System.out.println(e);} Exact Errors is java.net.MalformedURLException: For input string: ...

socket programming help

2351 byte By sunlearnera at 2007-10-2 2:37:24
have a piece of code ,this code is working in a different program individually but it does not work in the proxy server. It extracts the response from the website and when i write it to a something like out.html it writes the whole page but it does not write back to the socket for the web ...

SSL configuration for 3-tier architecture.

1057 byte By JSTigera at 2007-10-2 2:48:02
I have an architecture as the following:Client -- middle Server -- ServerNow I need to configure SSL for both communications, ie, communication between client and moddle server, and communication between middle server and server. An SSL configuration contains the keystore configuration, ...

Help with HTTPS

1249 byte By rossimja at 2007-10-2 2:54:50
I have a vendor with an HTTPS server application. I connect to the server, and send data via Posts, and they reply. Here is an example of the code:try{System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");Security.addProvider(new ...

LDAPConnection; JSSESocketFactory; Client Certificate selection

343 byte By jgrabieca at 2007-10-2 2:55:27
I'm trying to set up a LDAPConnection (using netscape libraries) to use SSL. I've read quite a few forum topics/replies concerning this subject but I have yet to see how I can programmatically (via Java API) provide the certificate from an available keystore to go with the connection. Any ...

Moving keystore/truststore

252 byte By FreshCookiea at 2007-10-2 3:01:28
Hello,I am moving my code from one server to another. Instead of exporting public and private keys, can I just move my keystore/trustore to the different server and start using it?Your help will be greatly appreciatedThanks,

how to write net Send java code which will always send messages

1480 byte By ganesh_pola at 2007-10-2 3:36:52
friends i have written one java code which enable to send message through net send facility but this does not work if receiver has made certain settings to ignore my machine in that case my code does not work how shouold i overcome this problemmy code is as bellowimport java.io.*;public class ...

Verifying SSL Encryption Provider

430 byte By matthewa at 2007-10-2 3:41:46
I'm working on a project where we want to use 4096 bit keys and a 3rd party JCE provider (Bouncy Castle) for the SSL connections. I generated keys and self-signed certificates for testing and everything seems to be working fine.Is there a way to verify that the SSL connection is indeed using ...

does SSL or HTTPS has some length limitation ?

570 byte By kovtonba at 2007-10-2 4:00:16
Hei :)!!!I am using an https protocol in order to send in a safe way a contanance of a form which contains information like user credit card number, his details and etc.The problem is that when i am sending this form by HTTP protocol the form is being sent correctly, but when i am sending it by ...

Plain Socket Over SSL

474 byte By spinixa at 2007-10-2 4:03:49
Hi All,I currently have a non blocking Server Socket that accepts clients connection. The need has arised to allow for SSL hence the socket was converted to an ssl Server Socket. The challenge is most of the client implementations are still non-ssl client . How can I allow my ssl server socket ...

SSL Certification - Acceptance?

1111 byte By munyula at 2007-10-2 4:05:54
Hi, I'm having troubles getting a server to connect to itself (yes, itself). The code I have write works perfectly in a non-SSL setup, but now in a SSL setup it's not working. The error message is:sun.security.validator.ValidatorException: No trusted certificate found Now, I've searched ...

CDC : HTTPS

327 byte By chittubalajia at 2007-10-2 4:09:30
Hi,Any body have idea, How to incorporate https in cdc application.We have CDC application which talks to tomcat using web service. I configured tomcat for https, port number 8443.What kind change i have to make in client side. Please help me , its very urgent.Thanks in ...

How to disable hostname verification without code

284 byte By Ephemeris.Lappisa at 2007-10-2 4:12:02
Hello.Is there a way to disable the hostname verification during SSL connection, ? I mean something like a system property, since i use an existing application and i've not the source to set my own custom hostname verifier.Thanks.--Ephemeris Lappis

JSch connection with public key

7424 byte By paulakha at 2007-10-2 4:12:23
I am having trouble getting JSch to connect using a public key. It works fine with user/pw. It says on the server side's daemon that the keys do not match. I do not understand why it says on the first line of the output that the ssh-connection completed, and then it says the keys do not match. ...

Socket Channel

642 byte By MayaMathewsa at 2007-10-2 4:27:41
Hi,I have a appication uses ServerSocketChannel at the server side and socket at the client side. I am using selector to read the requests that comes to the server. And I am using three ports, each for a separate operation. One such port is meant for streaming purpose. That is when the client ...

Another way to import certificate?

140 byte By just_a_kid83a at 2007-10-2 4:28:06
HiI would like to know if is there alternative way to import certificate in jdk1.3.1 instead of using KEYTOOL ?Thanks..

Https Post from Java giving error

2843 byte By kurupharika at 2007-10-2 4:35:05
I have written a java client to access an Https server using HttpClient.I am using a self signed certificate at the server.The certificate file(.cer) is copied to the client machine and imported to cacerts using keytool . I am getting the following error on executing the Java program from the ...

X509 unsupported critical extension on mutual auth with Tomcat

993 byte By Coflera at 2007-10-2 4:48:50
Hello,I have the following scenario.I am running 2 webapps. One acts as a client (web front end), the other one as a server (web services).The connection is using SSL with mutual auth.The client presents its certificate, wich contains a critical extension wich is not supported by the ...

Weakness with SAML/Single-SignOn?

1180 byte By 6tr6tra at 2007-10-2 5:02:13
I have a question (please tell me if I'm understanding this all wrong too):In SAML single-sign on, user "Bob" authenticates with some server. That server now says, "ok, yes this user is Bob." The server then generates an authentication assertion and sends it to server #2 (which also accepts ...

How to use SSLContext with temporary Server certificate

322 byte By JPJavaa at 2007-10-2 5:03:41
Hi,I want to secure a localhost connection and therfore I want to use the SSL mode which creates a temporary server certificate instead of loading a static certificate from a keystore.How do I have to initialize my SSLContext to ge a SSLServerSocketFactory that uses a temporary ...

Path does not chain with any of the trust anchors, but included in cacerts?

6724 byte By Jurgena at 2007-10-2 5:35:56
I have implemented a CA that has a self-signed certificate:<CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, C=BE>I have a cert from this CA: <CN=realAnonym>With this cert, I want to make a SSL connection to some server with client authentication.<CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, ...

Error with SSL Message

7918 byte By developer_atga at 2007-10-2 5:47:32
Hello Guys,I am implementing solution where in I need to post http request to a secure server. I am using following mechanisam to talk to the ssl server. But when I run the program on my local machine I get following error. Can you guys please help me out since I have limited knowledge of ...

what Happen if u install Certificate Reply from CA using different Alias?

489 byte By just_a_kid83a at 2007-10-2 5:55:10
HiFirst of All , I generate a key pair using keytool and send it to CA...After Ca signed it and reply me back..After that , I import root and certificate reply to a keystore using alias different from the my key pair alias. I got this error Message : "Untrusted Server Cert Chain"Does anyone ...

SSL Exception in JAVA

2070 byte By Namita at 2007-10-2 5:56:52
HiI am trying to invoke a JSP on Pramati server in my java codeusing HTTPS call. But it is giving me the following exception(s): javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException: No trusted certificatefoundCan you please tell me where i am going wrong.This is the ...

Keystore contains mutliple private keys....

294 byte By just_a_kid83a at 2007-10-2 6:19:30
HiI would like to know what happen and which one will be used if my keystore contains mutiple private keys?From what i know is the server will try to look the private key with the latest timestamp....i need some clarification...Anyone can clarify this?Thanks.

Protecting 2 domains on one server

789 byte By smithsaa at 2007-10-2 6:19:37
Let's say I have two different domains:www.abc.comwww.xyz.comThey both contain different data, and I'd like to run them both off of the same web server. I can do this easily by looking at the HOST: header in the HTTP headers on an incoming request. Depending on what it says, I'll know which ...

Is HTTPS protocal encrypt both side communication.

118 byte By Sriramakrishnaa at 2007-10-2 6:28:54
Hi,Is SSL encrypt server to client and client to server communication?--ThanksRamki

keytool help (alias <tomcat> already exists problem)

527 byte By ron1972a at 2007-10-2 6:43:17
Hi I am new to using certs & SSL. I am following the http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html doc using java version 1.5.0.04 and when I run the command:%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA I get the following error: Key pair not generated, alias ...

Can we generate keypairs signed with a root cert on keytool?

36 byte By malcolmmca at 2007-10-2 7:00:58
Or do we need to use openssl?

What is wrong with my JSSE socket code (newbie)?

8062 byte By @GeneAnthonya at 2007-10-2 7:24:35
I'm pretty new to JSSE and I was looking on an online tutorial for creating secure sockets. However when I run the code it return a java.lang.nullpointer exception error. I decided for this test server/client I would run them on the localhost. Here's how I created the server/client keys:First ...

openConnection() hangs forever

2979 byte By rueschulza at 2007-10-2 7:39:06
Hello,I have a problem opening connections to https-webservers on my Linux server. I am using the mini-program below to hunt down the problem.Essentially, the program hangs forever (waited several minutes) when trying to open any https-URL. Normal http-URLs work as they should.The odd thing is, ...

unsupported java.net.Socket methods

707 byte By yxinha at 2007-10-2 7:47:18
Hi guys,I notice the javax.net.ssl.SSLSocket implementation does not support some of the java.net.Socket methods such as shutdownOutput().Is this temporary or is this because they are not suitable to the SSL protocol. E.g. shutdownOutput may not allow the session caching aspect of SSL? IF it is ...

javax.net.ssl.SSLException: Unsupported record version Unknown-11.0

2802 byte By orzechowskida at 2007-10-2 8:09:16
anyone have any idea as to how that exception could occur during a TLSv1 handshake?I've written a Java applet which is attempting to communicate over TLS with a server written in C and using OpenSSL. Here's the client code: begin code ssl_context = SSLContext.getInstance("TLSv1"); /* FakeTM ...

No trusted certificate found

4558 byte By raistlinka at 2007-10-2 8:13:45
Hi,I've a problem calling an https secure url. I've read some messages at this forums but I didn't find the solution.This is my code:public static void main(String[] args) {try {System.err.println("*** " + doSecureSocketHttpGet(new URL("https://secureurl.com)));} catch (MalformedURLException ...

How to download and import a new certificate programmatically?

1116 byte By uhilgera at 2007-10-2 8:21:58
Hi everyone,I have implemented an SSL connection to a httpps URL using the example in Qusay H. Mahmoud's excellent article at http://java.sun.com/developer/technicalArticles/Security/secureinternet2/index.htmlFor simpler testing I used a HostNameVerifier and TrustManager that always accepts ...

Ending TLS sessions using SSLSockets

257 byte By rmfoughta at 2007-10-2 8:33:07
Hello,It is not obvious to me how (or of it is even possible) to properly shut down a TLS session (each side sending close_notify alerts) just using SSLSockets. Do I have to use SSLEngine to get this functionality?TIA,Rich