Re: urgent help pls...

2001-12-04 Thread Carlos Telleria

Test for these causes, or try to regenerate your certificate:
__

Runtime Exception: untrusted cert chains 
Problem: When negotiating an SSL connection, the client or server throws
one of the following exceptions: 

javax.net.ssl.SSLException: untrusted server cert chain
javax.net.ssl.SSLException: untrusted client cert chain

Cause 1: This is generally caused by the remote side sending a
certificate that is unknown to the local side. 

Solution 1: The best way to debug this type of problem is to turn on
debugging (see Debugging Utilities) and watch as certificates are loaded
and when certificates are received via the network connection. Most
likely, the received certificate is unknown to the trust mechanism
because the wrong trust file was loaded. 

Cause 2: The system clock is not set correctly. 

Solution 2: If the clock is not set correctly, the perceived time may be
outside the validity period on one of the certificates, and unless the
certificate can be replaced with a valid one from a truststore, the
system must assume that the certificate is invalid, and therefore throw
the exception. 

Cause 3: Older versions of Java 2 Enterprise Edition use earlier
versions of JSSE. In particular, some previous versions of J2EE shipped
with JSSE 1.0, which couldn't replace received expired certificates with
current ones from a truststore. 

Solution 3: Be sure that the new JSSE jar files occur in the class
path(s) ahead of any older J2EE jar files. 




Jovie Castaneda wrote:
> 
> Yes I do have it registered in the security properties file
> what else am i missing here?
> 
_

Carlos  Tellería
Area de Informática
Secretaría General de Sanidad, Consumo y Bienestar Social
Gobierno de Aragón

Tel.: 976 71 40 00 - ext. 2061
Fax: 976 71 42 11
email: [EMAIL PROTECTED]


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: urgent help pls...

2001-12-04 Thread Jovie Castaneda

Yes I do have it registered in the security properties file
what else am i missing here?

-Original Message-
From: Carlos Telleria [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 6:51 PM
To: Tomcat Users List
Subject: Re: urgent help pls...


Did you registered JSSE security provider?

Look at point 4 on INSTALL.txt, in the JSSE package.


Jovie Castaneda wrote:
>
> i made it work i have missed ';' in my classpath..
> but after that im having this exception
> javax.net.ssl.SSLException: untrusted server cert chain
> i already have my .keystore ...yet im having this error...
>
> -Original Message-
> From: Byung Jin Chun [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 4:53 PM
> To: Jovie
> Subject: RE: urgent help pls...
>
>  did you set the env variable JSSE_HOME and
> r u still getting the same stack trace?
>
> -Original Message-
> From: Jovie Castaneda
> To: 'Byung Jin Chun'
> Sent: 12/4/01 12:40 AM
> Subject: RE: urgent help pls...
>
> thanks for the reply...
> I already download the following:
> jsse.jar, jnet.jar, jcert.jar
> then i stored them in $CATALINA_HOME\common\lib
> yet it doesnt work...
> it doesnt seem to find my jar files, but i can
> implement https in my browser i followed that
> SSL configuration HOW TO , yet why cant i make my
> code run?
>
> -Original Message-
> From: Byung Jin Chun [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 4:38 PM
> To: Jovie
> Subject: RE: urgent help pls...
>
>  Jovie,
>  you need the Java Secure Socket Extension (JSSE) which you can get at
> www.javasoft.com. If you have it, then you read the SSL Configuration
> How To
> off of the tomcat install.
>
> Jin
>
> -Original Message-
> From: Jovie Castaneda
> To: 'Tomcat Users List'
> Sent: 12/4/01 12:17 AM
> Subject: urgent help pls...
>
> hello there...
>
> i hope you can help me with this problem..i have no idea on what's
> happening
> here
> the following lines are shown in the console once i do https post
>
> java.lang.NoClassDefFoundError: javax/net/SocketFactory
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$100(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at
> com.sun.net.ssl.HttpsURLConnection.([DashoPro-V1.2-120198])
> at
> com.sun.net.ssl.internal.www.protocol.https.Handler.openConnection([Dash
> oPro
> -V1.2-120198])
> at java.net.URL.openConnection(Unknown Source)
> at GCProtocol.communicateRequest(GCProtocol.java:42)
> at GCServer.run(GCServer.java:56)
>
> your help will be very much appreciated !!
> thanks
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
_

Carlos  Tellería
Area de Informática
Secretaría General de Sanidad, Consumo y Bienestar Social
Gobierno de Aragón

Tel.: 976 71 40 00 - ext. 2061
Fax: 976 71 42 11
email: [EMAIL PROTECTED]


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: urgent help pls...

2001-12-03 Thread Carlos Telleria

Did you registered JSSE security provider?

Look at point 4 on INSTALL.txt, in the JSSE package.


Jovie Castaneda wrote:
> 
> i made it work i have missed ';' in my classpath..
> but after that im having this exception
> javax.net.ssl.SSLException: untrusted server cert chain
> i already have my .keystore ...yet im having this error...
> 
> -Original Message-
> From: Byung Jin Chun [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 4:53 PM
> To: Jovie
> Subject: RE: urgent help pls...
> 
>  did you set the env variable JSSE_HOME and
> r u still getting the same stack trace?
> 
> -Original Message-
> From: Jovie Castaneda
> To: 'Byung Jin Chun'
> Sent: 12/4/01 12:40 AM
> Subject: RE: urgent help pls...
> 
> thanks for the reply...
> I already download the following:
> jsse.jar, jnet.jar, jcert.jar
> then i stored them in $CATALINA_HOME\common\lib
> yet it doesnt work...
> it doesnt seem to find my jar files, but i can
> implement https in my browser i followed that
> SSL configuration HOW TO , yet why cant i make my
> code run?
> 
> -Original Message-
> From: Byung Jin Chun [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 4:38 PM
> To: Jovie
> Subject: RE: urgent help pls...
> 
>  Jovie,
>  you need the Java Secure Socket Extension (JSSE) which you can get at
> www.javasoft.com. If you have it, then you read the SSL Configuration
> How To
> off of the tomcat install.
> 
> Jin
> 
> -Original Message-
> From: Jovie Castaneda
> To: 'Tomcat Users List'
> Sent: 12/4/01 12:17 AM
> Subject: urgent help pls...
> 
> hello there...
> 
> i hope you can help me with this problem..i have no idea on what's
> happening
> here
> the following lines are shown in the console once i do https post
> 
> java.lang.NoClassDefFoundError: javax/net/SocketFactory
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$100(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at
> com.sun.net.ssl.HttpsURLConnection.([DashoPro-V1.2-120198])
> at
> com.sun.net.ssl.internal.www.protocol.https.Handler.openConnection([Dash
> oPro
> -V1.2-120198])
> at java.net.URL.openConnection(Unknown Source)
> at GCProtocol.communicateRequest(GCProtocol.java:42)
> at GCServer.run(GCServer.java:56)
> 
> your help will be very much appreciated !!
> thanks
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

-- 
_

Carlos  Tellería
Area de Informática
Secretaría General de Sanidad, Consumo y Bienestar Social
Gobierno de Aragón

Tel.: 976 71 40 00 - ext. 2061
Fax: 976 71 42 11
email: [EMAIL PROTECTED]


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: urgent help pls...

2001-12-03 Thread Jovie Castaneda

i made it work i have missed ';' in my classpath..
but after that im having this exception 
javax.net.ssl.SSLException: untrusted server cert chain
i already have my .keystore ...yet im having this error...

-Original Message-
From: Byung Jin Chun [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 4:53 PM
To: Jovie
Subject: RE: urgent help pls...


 did you set the env variable JSSE_HOME and
r u still getting the same stack trace?

-Original Message-
From: Jovie Castaneda
To: 'Byung Jin Chun'
Sent: 12/4/01 12:40 AM
Subject: RE: urgent help pls...

thanks for the reply...
I already download the following:
jsse.jar, jnet.jar, jcert.jar
then i stored them in $CATALINA_HOME\common\lib
yet it doesnt work...
it doesnt seem to find my jar files, but i can
implement https in my browser i followed that
SSL configuration HOW TO , yet why cant i make my
code run?



-Original Message-
From: Byung Jin Chun [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 4:38 PM
To: Jovie
Subject: RE: urgent help pls...


 Jovie,
 you need the Java Secure Socket Extension (JSSE) which you can get at
www.javasoft.com. If you have it, then you read the SSL Configuration
How To
off of the tomcat install.

Jin

-Original Message-
From: Jovie Castaneda
To: 'Tomcat Users List'
Sent: 12/4/01 12:17 AM
Subject: urgent help pls...

hello there...

i hope you can help me with this problem..i have no idea on what's
happening
here
the following lines are shown in the console once i do https post

java.lang.NoClassDefFoundError: javax/net/SocketFactory
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at
com.sun.net.ssl.HttpsURLConnection.([DashoPro-V1.2-120198])
at
com.sun.net.ssl.internal.www.protocol.https.Handler.openConnection([Dash
oPro
-V1.2-120198])
at java.net.URL.openConnection(Unknown Source)
at GCProtocol.communicateRequest(GCProtocol.java:42)
at GCServer.run(GCServer.java:56)

your help will be very much appreciated !!
thanks






--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>