I have downloaded 1.4.2 and have the same exact problem. Somehow it refuses to delegate to a provider that gives a DH algorithm. Odd! Anyone have any ideas here?

At 02:22 AM 3/27/2004, you wrote:
A complete and utter shot in the dark here, but:

Does it work with 1.4.2?

1.4.1 had some CA Cert expiration issues recently. Yeah, it sounds completely
unrelated, but if Resin 2 comes with the more recent stuff, I can\'t help but
wonder if this is at least in the right part of town.

http://java.com/en/download/help/cacerts.jsp

> -----Original Message-----
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 27, 2004 2:33 AM
> To: Struts Users Mailing List
> Subject: Re: Tomcat -- JSP -- KeyPairGenerator -- Security Exception
>
>
> With Resin 2.1.x and j2se 1_4_0_1 I have no problem.  With
> Tomcat 5_0 and
> j2se 1_4_1 I get the problem.
>
> At 10:37 PM 3/26/2004, you wrote:
> >I get the same problem when tomcat uses Java 1.3.1_04 - i.e.
> works for
> >RSA, but not DH - when I switch to Java 1.4.2_01, everything is OK.
> >
> >Niall
> >
> >----- Original Message -----
> >From: \"Michael McGrady\" <[EMAIL PROTECTED]>
> >To: \"Struts Users Mailing List\" <[EMAIL PROTECTED]>
> >Sent: Saturday, March 27, 2004 4:56 AM
> >Subject: Re: Tomcat -- JSP -- KeyPairGenerator -- Security Exception
> >
> >
> > > I find that Tomcat has the JCE.jar without a
> KeyPairGenerator class.
> > > Yet, when I go for KeyPairGenerator.getInstance(\"RSA\") it
> works but
> > > KeyPairGenerator.getInstance(\"DH\") does not.  Both jce.jar and
> > > sunjce_provider.jar have DH keys.  I just cannot figure what is
> > > going on here.  sunjce_provider.jar has KeyPairGenerator in
> > > jre/lib/ext/.  HELP!
> >LOL!
> > >
> > > At 08:14 PM 3/26/2004, you wrote:
> > > >When I am using Tomcat I get a security exception when I try to
> > > >access a java.security.KeyPairGenerator for a Diffie-Hellman key
> > > >pair.  I don\'t
> >get
> > > >it with other servers.  Anyone know why this is?
> > > >
> > > >
> > > >java.security.NoSuchAlgorithmException: DH
> KeyPairGenerator not available
> > > >
> java.security.Security.getEngineClassName(Security.java:583)
> > > >
> java.security.Security.getEngineClassName(Security.java:594)
> > > >         java.security.Security.getImpl(Security.java:1043)
> > > >
> >java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:146)
> > > >
> >org.apache.jsp.TEST_KEYPAIR_jsp._jspService(TEST_KEYPAIR_jsp.java:57)
> > > >
> >org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> > > >
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > > >
> > >
> >
> >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> > >.java:
> >204)
> > > >
> > >
> >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java
> > > >:295)
> > > >
> >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > > >
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to