# Security providers and keytool

Robert Wille (RWILLE@novell.com)
Tue, 18 May 1999 16:53:42 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Robert Wille: "JSECURITY Issue: broken link"
- Previous message: Charlie Lai: "Re: Invoker ID based security"
- Next in thread: Jan Luehe: "Re: Security providers and keytool"

    Message-Id: <s7419b1c.010@prv-mail25.provo.novell.com>

    Date: Tue, 18 May 1999 16:53:42 -0600

    From: "Robert Wille" <RWILLE@novell.com>

    To: <java-security@java.sun.com>

    Subject: Security providers and keytool

I have the need to use certificates signed with RSA, so I wrote an RSA =
signature provider. I found that I cannot import self-signed certificates =
that use RSA, even when my security provider is statically registered in =
the java.security file. I get a "signature not available" error. =
However, if I run java on sun.security.tools.KeyStore, it works. i.e.

"keytool -import -alias cert -file cert.der" fails with "Signature not =
available"
"java sun.security.tools.KeyStore -import -alias cert -file cert.der" =
works

I put a println statement in the constructor of my signature provider. =
When I run keytool, the statement never gets printed. When I run java =
sun.security.tools.KeyStore, the statement does print. Why doesn't =
keytool load the security providers? Not loading the security providers =
limits the use of keytool to Sun's provider.

- Next message: Robert Wille: "JSECURITY Issue: broken link"
- Previous message: Charlie Lai: "Re: Invoker ID based security"
- Next in thread: Jan Luehe: "Re: Security providers and keytool"