Vineesh,

I think you are right. 
I used the following code to find out the encryption algorithm in my
servlet,

 String cipherSuite = (String)
httpReq.getAttribute("javax.servlet.request.cipher_suite");
   if(cipherSuite != null){
    out.println("javax.servlet.request.cipher_suite is " + cipherSuite);
   }

I got the following result
javax.servlet.request.cipher_suite is SSL_RSA_WITH_RC4_128_MD5 

And I also used the RSA while generating a keypair for certificate. So
may be the same key-pair is used for encryption also.

Thanks for all your help.
Sangita


-----Original Message-----
From: vineesh kumar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 25, 2006 1:49 PM
To: Tomcat Users List
Subject: Re: How to find what encryption algorithm tomcat is using?

the key generation algorithm itself will be the encryption algorithm as
of my knowledge, otherwise the public and private keys do not match i
don know exactly from where they are determining the encryption
algorithm but in the key store the algorithm used will be ther regards
   vineesh

On 1/25/06, Shirode, Sangita (Sangita) <[EMAIL PROTECTED]> wrote:
> Thanks vineesh
>
> for your immediate reply. I'm using RSA while generationg a key. But I

> think it is for certificate keystore as given in the link 
> http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html.
>
> Does the same algorithm is used for data encryption also? If yes I 
> think I can get complete details about algorithm in java site since
just 'RSA'
> is not sufficient information.
>
> Thanks,
> Sangita
>
> -----Original Message-----
> From: vineesh kumar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 25, 2006 12:57 PM
> To: Tomcat Users List
> Subject: Re: How to find what encryption algorithm tomcat is using?
>
> sorry,
>  ur  own algorithm means any standard cryptographic 
> algorithm,supported by java
>
> On 1/25/06, vineesh kumar <[EMAIL PROTECTED]> wrote:
> > the default key generation algorithm is DSA try man keytool if u are

> > on a linux machine but u can specify ur own algoithm when u 
> > generating
>
> > a key like
> >       %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
> (Windows)
> >     $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) 
> > regards
> >    vineesh
> > On 1/25/06, Shirode, Sangita (Sangita) <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I need the info about what encryption algorithm tomcat is using 
> > > when
>
> > > it sends/receives data to /from client via SSL. I need this info 
> > > for
>
> > > export compliance. When I enabled SSL in tomcat I just followed 
> > > the normal procedure given in Tomcat docs. I'm generating a self 
> > > signed certificate with java keytool.
> > >
> > > I would appreciate immediate reply on this since I need this info 
> > > urgently.
> > >
> > > Thanks,
> > > Sangita
> ---------------------------------------------------------------------
> 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