[urgent]SSL Handshake failure. Certificate mismatch

2150 byte By babuce@gmail.coma at 2007-10-3 7:13:07
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 ...

KEYTOOL BASICS

201 byte By babuce@gmail.coma at 2007-10-3 7:13:42
Hi Guys,Can anyone explain me the complete list of keytool commands toobtain verisign certificate? Also importing the verisign certificates to the keystoreThanks,Babu

How Many certificates per JVM

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 ...

Query regarding exchanging certificates in a network: through SSL

451 byte By srilakshmi.ba at 2007-10-3 7:39:05
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 ...

Reason for javax.net.ssl.SSLException.

1135 byte By rbharathya at 2007-10-3 7:52:04
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 ...

Urgent : SSLException: Unrecognized SSL message, plaintext connection

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 ...

HTTPS Client Certificate Woes

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 |_ ...

How to Modify Override Handler class in jsse.jar

320 byte By Jay_Amballaa at 2007-10-3 8:14:41
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 ...

startHandshake() hangs on FTPS Client implementation

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. ...

com.sun.net cannot be resolved to a type

362 byte By HarryJTyro@WTa at 2007-10-3 8:34:23
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 ...

SSL Client authendication question

725 byte By babuce@gmail.coma at 2007-10-3 8:35:12
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 ...

Urgent : Unable to load Keystore

1884 byte By babuce@gmail.coma at 2007-10-3 8:47:39
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 ...

SSL implementation in Java

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 ...

How to Convert HTTP to HTTPS

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 .

Code for SSL

446 byte By rsdthfstha at 2007-10-3 9:14:48
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 ...

Problems with moving from 1.3 to 1.4

804 byte By wesley.holevinskia at 2007-10-3 9:22:37
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 ...

Regarding SSL

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 ...

Dynamically Accept Client Certificates

1040 byte By punkinsidea at 2007-10-3 9:50:15
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 ...

Regarding HTTPS

126 byte By jagdeeshna at 2007-10-3 9:53:33
Hi,can any one provide me how to configure HTTPS in websphere 6.1which is running on Linux.Thanks.

Hi experts - cannot run HTTPS on tomcat as a service application

1320 byte By deepak_anisha at 2007-10-3 9:54:32
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 ...

SSLHandshakeException:

516 byte By gandhiraj_g@rediffmail.coma at 2007-10-3 9:56:06
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: ...

javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate

5734 byte By michaelmigala at 2007-10-3 9:58:47
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 ...

JSSE official specification

408 byte By eduterioa at 2007-10-3 10:04:04
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 ...

Difference between HttpsUrlConnection and SSLSocket getInputStream() method

2980 byte By r-javaida at 2007-10-3 10:06:56
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) ...

Calling Webservices thourgh two way ssl

360 byte By rsdthfstha at 2007-10-3 10:16:56
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 ...

Cannot run HTTPS on port 443 while it works fine on port 8443 - tomcat 4.1

1947 byte By deepak_anisha at 2007-10-3 10:22:29
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 ...

any other pckage/api 4 ssl

104 byte By Deo_Zonea at 2007-10-3 10:49:56
Hi,im new 2 java so i had a query. Is there any other package/api that we can use for SSL?

some help for ssl newbie

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 ...

Regarding SSL

233 byte By jagdeeshna at 2007-10-3 11:06:58
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.

Get the certificate, ssl connection

547 byte By new_screen_namea at 2007-10-3 11:09:38
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 ...

Problems with Default SSL context init

1265 byte By wesley.holevinskia at 2007-10-3 11:11:21
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 ...

[Certificate] How to Communicate/Connect to https via proxy

8910 byte By devmed2006@yahoo.fra at 2007-10-3 11:28:47
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 ...

SSL shouldn't be this difficult

3056 byte By jefflanzarottaa at 2007-10-3 11:33:52
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 ...

javax.net.ssl.SSLProtocolException: Peer not recognized or badly formatted

1515 byte By Artur_Borocha at 2007-10-3 11:39:48
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 ...

Secure socket tomcat / Websphere

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 ...

java.security.cert.CertificateException: Could not find trusted certificate

1140 byte By HelpBOSSa at 2007-10-3 11:52:59
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 ...

jsse

53 byte By fatimaaaaaa at 2007-11-26 12:52:56
please,send simple topic about jsse & jaas

HTTPS PROGRAM(I have post it on Other..forum)

992 byte By lvguangchuana at 2007-11-26 12:57:51
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 ...

How to support SSL Version 2.0?

253 byte By kcook1973a at 2007-11-26 13:22:43
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?

SSL with Windows Certificates

785 byte By Centrista at 2007-11-26 13:29:32
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 ...

how do you log out of j_security_check...

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...

Adding CA Root certificates to cacerts

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 ...

SSL and Apache Tomcat 5.5.20

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 ...

Upgrading expired certificate within a keystore?

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 ...

Keystores without cacert imported

868 byte By GurliGebisa at 2007-11-26 14:19:01
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 ...

get client identity from certificate

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 ...

need some help

805 byte By Deo_Zonea at 2007-11-26 14:26:28
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 ...

Understanding X509TrustManager

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

accepting server certificate

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 ...

JPOS Product ..... need help

375 byte By amr_omar99a at 2007-11-26 15:01:16
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 ...