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.
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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...
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
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 ...
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 ...
how to develop httpclient architecture .pls help me.if possible pls provide the code for me.thanks ®ards kishore
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
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: ...
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 ...
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, ...
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 ...
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 ...
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,
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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. ...
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 ...
HiI would like to know if is there alternative way to import certificate in jdk1.3.1 instead of using KEYTOOL ?Thanks..
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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.
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 ...
Hi,Is SSL encrypt server to client and client to server communication?--ThanksRamki
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 ...
Or do we need to use openssl?
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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