jessie-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jessie-discuss] Client Auth Enabled, Getting "RSA Signature not ava


From: rsdio
Subject: Re: [Jessie-discuss] Client Auth Enabled, Getting "RSA Signature not available" Error
Date: Mon, 9 Apr 2007 17:25:12 -0700 (PDT)
User-agent: SquirrelMail/1.4.9a

> On 4/9/07, address@hidden <address@hidden> wrote:
>>
>> >
>> > Now I am getting this error
>> >
>> > javax.net.ssl.SSLException: java.security.NoSuchAlgorithmException:
>> > TLSv1.1-RSA Signature not available
>>
>> This should work, unless (a) you aren't installing the provider
>> correctly,
>> or (b) the SSLRSASignatureImpl class (or something it depends on) is
>> missing at runtime.
>>
>> A work-around is to change the line:
>>
>>         java.security.Signature sig =
>> java.security.Signature.getInstance(engine.session
>> ().suite.signatureAlgorithm().toString());
>>
>> to
>>
>>         java.security.Signature sig =
>> java.security.Signature.getInstance(engine.session
>> ().suite.signatureAlgorithm().toString(),
>> new Jessie());
>>

Oops! That should have been this:

         java.security.Signature sig =
java.security.Signature.getInstance(engine.session().suite.signatureAlgorithm().algorithm(),
new Jessie());

>> But you *really* should try to figure out why it isn't working as-is.
>>
>>
> Well I am working on to fix the orginal problem, but even providing an
> Jessie instance is not helping me ... I guess it must be a silly problem
> !!
> I am working on it, if you have any clues please pass them on to me ...
>
> javax.net.ssl.SSLException: java.security.NoSuchAlgorithmException: no
> such
> algorithm: RSA for provider Jessie
>         at gnu.javax.net.ssl.provider.ServerHandshake.verifyClient(
> ServerHandshake.java:1259)
>         at gnu.javax.net.ssl.provider.ServerHandshake.implHandleInput(
> ServerHandshake.java:604)
>         at gnu.javax.net.ssl.provider.AbstractHandshake.handleInput(
> AbstractHandshake.java:241)
>         at gnu.javax.net.ssl.provider.SSLEngineImpl.unwrap(
> SSLEngineImpl.java:644)
>         at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:566)
>         at gnu.javax.net.ssl.provider.SSLSocketImpl.doHandshake(
> SSLSocketImpl.java:474)
>         at
> gnu.javax.net.ssl.provider.SSLSocketImpl$SocketInputStream.read(
> SSLSocketImpl.java:150)
>         at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java
> :411)
>         at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java
> :453)
>         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
>         at java.io.InputStreamReader.read(InputStreamReader.java:167)
>         at java.io.BufferedReader.fill(BufferedReader.java:136)
>         at java.io.BufferedReader.read(BufferedReader.java:157)
>         at TLSDataListener.processData(TLSDataListener.java:26)
>         at TLSServer$2.run(TLSServer.java:200)
> Caused by: java.security.NoSuchAlgorithmException: no such algorithm: RSA
> for provider Jessie
>         at sun.security.jca.GetInstance.getService(GetInstance.java:83)
>         at sun.security.jca.GetInstance.getInstance(GetInstance.java:202)
>         at java.security.Signature.getInstance(Signature.java:373)
>         at gnu.javax.net.ssl.provider.ServerHandshake.verifyClient(
> ServerHandshake.java:1248)
>
>
> thanks
> chinmaya
>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]