I've only tried it with DSA keys because that is what I had available.
(though the code to retrieve both DSA and RSA keys is supposed to be the
same).

If anyone has instructions on how to create RSA keys in DER format on a
Windows PC I can try it out.

-Scott


On 6/22/07, Mark McCoy <[EMAIL PROTECTED]> wrote:

Scott Battaglia <[EMAIL PROTECTED]> writes:

>
>
> Mark,What format are your keys in? Is it a PEM or a DER file? It may
need
to be DER?Also, the only two options for keys are DSA and RSA. Though it
looks
like you chose to make an RSA keypair so that should be okay.
> -Scott
>

Yes, this is an RSA keypair.

The files were in PEM format (openssl default), so I converted the keypair
to
DER format as you suggested, with the following commands:

# openssl rsa -in private.pem -pubout -out public.pem
# openssl rsa -in private.pem -outform DER -out private.key
# openssl rsa -in private.pem -outform DER -pubout -out public.key

I copied the public/private keys to WEB-INF/classes and restarted
tomcat.  CAS
still gives the exact same error.

Any suggestions??

Mark





_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas




--
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to