The SSL handshake is failing at the client with the below error messagemain, handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate foundI have added the signed certificate to the keystore and all the certificate chain ...
Hi Guys,Can anyone explain me the complete list of keytool commands toobtain verisign certificate? Also importing the verisign certificates to the keystoreThanks,Babu
887 byte By
lionfooa at 2007-10-3 7:35:58
OS: Solaris 8JDK: 1.4 or JDK: 1.5WebServer: Apache + mod_jk + TomcatI obtain a real certificate from Verisign. My question is how many certificates I needed.I am using Webform environment with multiple machines running the same web applications. For example the application appA and Application ...
I am trying to implement SSL on TCP/IP.I developed SSL Server and SSL Client,generated keystores and certificates for both server and client.For generating truststores both server and client need to exchange their certificates.Using self-signed certificates on stand alone machine,successful ...
We are changing our application from http to https with SSL security. A frequent exception that is written to the log file is javax.net.ssl.SSLException. What could the reason for this exception?These are the errors that are written to the log file06/10/19 14:45:19.743 mcapdms: Servlet ...
6024 byte By
Xtaza at 2007-10-3 8:01:26
I try to ask a webservice to an url in https with certificate.This is my code (confidential informations was replaced by "####" :package essai;import java.net.Authenticator;import java.util.List;import javax.activation.DataHandler;import javax.activation.FileDataSource;import ...
3489 byte By
RobSilva at 2007-10-3 8:13:43
I have a java client program which implements an HTTPSURLConnection to a remote service to send them some XML content.Their service is https://XXX.XX etc. format and has a certificate associated with it. When I view their certificate path I see that it is...THEIR_COMPANY_CERT |_ ...
Hi,Is there a way to change port number in Handler class in jsse.jar and recompile the Java file, or override the class? The Handler class seems to be using port number 443, whereas the the Webserver of PS Application is using a different port number (7004). Any ...
3001 byte By
Strecka at 2007-10-3 8:26:30
Hi,I'm working on developing a small FTPS client test program that connects to an FTP server using explicit SSL. I first connect with a standard socket, then send the message "AUTH TLS" I get back "234 AUTH TLS-C/TLS OK." meaning the server is ready to switch to a secure connection. ...
I have a written a client to connect to a Web Service over SSL. I have added the class "com.sun.net.ssl.internal.ssl.Provider" as the security provider in my code. I am using j2sdk1.4.2_04. When I am compiling I do not get any errors. But however when I am running I get an error " com.sun.net ...
Hi,We have a JAVA SSL client talking to HTTP Server.The server side ssl is working fine. Now we are planning to use client authendication(server authendicating client).I spoke to the certificate provider (comtrust) regerding this. He suggested me to purchace a user certificate.They also said ...
Hi,I have HTTPS Client with client authendicationWhen I load my keystore using KeyManagerfactory the client is not sending its certificate to the serverand I am getting the below error in server-Thread-0, handling exception: javax.net.ssl.SSLHandshakeException: null cert chainIOException ...
537 byte By
deepthia at 2007-10-3 8:55:38
Hi to allI am new to SSL topic and i am trying to implement SSL,so,please help me in this regard. I am implementing SSL in JSSE(Java).We are developing our Application through self-signed certificate. The client is implementing SSL on C Language and server on Java language.How to communicate ...
241 byte By
6666a at 2007-10-3 9:01:54
Hi,I am doing credit application.When I click checout option.In browser url by default HTTP://will be displayed.But I need display HTTPS instead of HTTP when I click checkout button.plz give me suggestion .
Hi,Had a fundamental query regarding coding for SSL. 1. Since we have an option for configuring SSL in Server (Any servers ex. Weblogic, Websphere etc) i.e configuring Server to accept https request, why should one code for establishing SSL connection?2. Would appreciate if anybody can provide ...
I am running java procedures which are stored on an oracle database. Originally, we had Oracle 9i, which comes with a 1.3 JVM. We tried to implement JSSE by loading in the 3 jar files that are required, and following all of the instructions. This led to a dead end, so we persuaded our superiors ...
805 byte By
Innovaa at 2007-10-3 9:23:32
Hi All,I have one site which is SSL enabled,now Iam deploying one application to the same SSL enabled server .The Application requires financial matter file uploading and downloading facility other than querying some financial data.Now my question::1. As my site is SSL enabled do I have to ...
Hello all, I am writing a simple client/server app using TLS and I have a problem with the following:Each client machine will be uniquely identified with a certificate generated at compilation of the program with keytool. Each client will also have a copy of the server's public key ...
Hi,can any one provide me how to configure HTTPS in websphere 6.1which is running on Linux.Thanks.
I have configured HTTPS on my tomcat 4.1 web server.Now, when I run Tomcat as a console application it works fine and there is no problem. But When I run Tomcat as a service application, the server starts as a service properly but when I try to access the pages it says that "The Page Cannot Be ...
Hi All, I am using a java client running under jdk1.5.0 _01 When client calling a https url, it throws the following exception. But It works fine in jdk1.4.2_12 version.How can I make it run using jdk1.5.0_01 version.javax.net.ssl.SSLHandshakeException: ...
I am trying to connect to a server process using SSL socket. However, during handshake it fails with the exception.Any ideas why would this happen? I know that the server process works, because we have a TCL client that connects to it without any problem (tls::socket -cipher ...
Hi,Is it possible to find any official document in which is specified the maximum RSA key size supported by the JSSE shipped by the JDK 1.4.2 and the key size supported by the JSSE shipped in the JDK 1.5.0 ?I know that 1.4.2 suports key sizes up to 2048 bits, and that 1.5.0 supports lager key ...
Hi,I have written two separate Java classes that connect to my Tomcat machine via SSL with client authentication enabled. Certificates in the truststore and keystores are both correct and setup.One class uses HttpsUrlConnection, code below:HttpsURLConnection sconn = (HttpsURLConnection) ...
Hi,I have coded a method which creates and returns back the SSL Socket on the specified host and port(Two Way SSL). Now I will have to call webservices over this returned SSLSocket. Webservice is deployed on a different server. Would appreciate if anybody can guide me on this. Basically I am ...
Hi experts, I have configured my tomcat4.1 with HTTPS. Now when I run using port 8443 there is no problem at all. But when i run the same thing using port 443 in the browser it says the Page Cannot be displayed. Please help me with this.below is the code in server.xml file for the ...
Hi,im new 2 java so i had a query. Is there any other package/api that we can use for SSL?
735 byte By
fimkea at 2007-10-3 11:02:44
We have an application that should post to a secure socket that exists already. For client identification we have a certificate that I have imported in a JKS file.Now I should connect to the secure socket and somehow give that client certificate to the server.i have tried this with ...
Hi, For configuring SSL in websphhere v 6.0 Do i have to purchase the Digital Keys or Default keys are enough.Please provide some help regarding this.I have configured with default keys.But it won't work.Thanks.
I hope here someone could help me. The problem is that i want to retrieve a server certificate before sending stuff to server. So the user is asked to accept the cert or not, if it is not added to keystore.How can i get the server certificate?Hoping that someone understands the problem, i'm ...
Hey everyone,I was hoping that someone might have some information on this very vague exception that I'm getting:Java call terminated by uncaught Java exception: java.net.SocketException: Default SSL context init failed: nullI was also wondering if Java automatically adjusts paths when running ...
Hi,I am trying to do a HTTPS post to a website through javacode. I am receiving the error Unable connect to server-https. Proxy returns "HTTP/1.1 500 Server Error"!package sslproject;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import ...
Hello,First off, SSL is NOT really difficult... it is that I am just frustrated with the "service provider" that I have to connect to. They are of no help what so ever when it comes to trying to help me figure out what is going on with the SSL connection.OK, all the service provider has ...
I am using IBM JSSE and receiving exception:keymanager: X509KeyManager.chooseServerAlias() keymanager: Key Type = RSA keymanager: Issuers = [Ljava.security.Principal;@f0c6ae9c sslsocket: SSLSocket.startHandshake() exception javax.net.ssl.SSLProtocolException: Peer not recognized or badly ...
1169 byte By
Freyaa at 2007-10-3 11:40:20
For posting documents to a secure socket we created a secure socket client with a core like this:SSLContext ctx;KeyManagerFactory kmf;KeyStore ks;try {ctx = SSLContext.getInstance("TLS");kmf = KeyManagerFactory.getInstance("SunX509");ks = KeyStore.getInstance("JKS");ks.load(new ...
I am having a cer file of webservice say https://domainname/I have created keystore using this cer file by executing keytool -iomport -alias <aliasname> -file <certificate_filename> -keystore <keystore_filename>Thereafter,I have created the servlet to get the connection to ...
please,send simple topic about jsse & jaas
HiFor me, it is pretty new to Java Security.So, I want all you guys to give me some suggestion or advice.First, Let me introduce my background.I have an application to connect with some site by using http or https.Currently, HTTP works good.About HTTPS ,I know that there is certification files ...
Our SSL server has been supporting SSL 3.0 and TLS 1.0 for several years (using Java 1.4.2) - we have an opportunity for a client that only supports SSL 2.0 - our server rejects it - is there any other SSL library I can use to accept the SSL 2.0?
I'm not sure how easy this will be, but I'm trying to write a program that will connect to an HTTPS site with a personal certificate from the Windows certificate store. I chose to use Java for this because JSSE looked easy to use - not realizing that I'd be forced to use Java's certificate ...
119 byte By
dfdafdaa at 2007-11-26 13:37:05
how do you log out of j_security_check...i am using j_security_check to login howo do you logout of it...
1142 byte By
RutgerHa at 2007-11-26 13:58:59
Hello fellow developers.An application of mine retreives html from external servers, some of them require ssl communications.Now, since one of those clienst changed it's ssl certificate from a major authority to a less known (to me) authority called "UTN-USERFirst-Hardware".This resulted in my ...
875 byte By
zmedaa at 2007-11-26 14:11:37
Hi Maybe java forum is not right place where to put this post, but it is worth a try...im using tomcat 5.5.20 and i have read tomcat-docs how to configure server for ssl... i have done everything (checked so many times...), restart my server too, but still ssl does not work...when i try to open ...
520 byte By
pjcampoa at 2007-11-26 14:15:20
My SSL certificate is about to expire, and I have gotten a new one from VeriSign using the original CSR. When I try to import the new certificate into my existing keystore I am getting :keytool error: java.lang.Exception: Failed to establish chain from replyI exported the original certificate ...
I'm having a little problem.I have a client and a server program, in the server program truststore I have the certificate of the client program, and in the server program keystore, I have the servers certificate and the server private key.On the client side, I have the clients certificate and ...
10313 byte By
cycharisa at 2007-11-26 14:19:20
Hi there..I am writing a program which needs oth client and server to be authenticated...What I did up to now is to make a ca certificate import it to keystore and sign the certificate requests of the clients..Can you please tell me a way to find out the name of the client who is trying to ...
Hi every 1i am new to jsse at the moment ive started off wid creating the keystores n trust store. Im following the steps provided in the refrence document. I managed to create a certificate for the server however when i use the cat command i get the error'cat' is not recognized as an ...
281 byte By
aramanaa at 2007-11-26 14:35:27
How do checkClientTrusted and checkServerTrusted work? If it enters either of those methods and it is NOT trusted, how does it know that? If it trusted, then what does it do (or supposed to do in implementation).Also, when do these methods get invoked?-Avinash
1060 byte By
EnterSBa at 2007-11-26 14:48:30
Hi, sorry if this is double topic.I need example of next thing.I am using jakarta-httpclient-3.0 to communicate with server over https. (required by client).What i need is to authenticate server with its certificate. This is used in application deployed on jboss(for inf, if there are ...
I am work on ISO 8583 and i found JPOS Product but with any documentation or any guide please if any body have experience in this product can help me .only i need small thing Formate of data following ISO 8583 standard i.e how can we read such data using java and how can we creat such data from ...