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

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

Hey all, not really a CAS question per se, but as the subject says I'm
testing
the google integration.  I've created the SSL public/private keypair, and
I
think I've put the keypair in the right place (WEB-INF/classes), but every
time
I reload the context and the page, I get an error about not being able to
create the key.

Trace below:
org.springframework.beans.factory.BeanCreationException : Error creating
bean
with name 'themeResolver' defined in ServletContext resource
[/WEB-INF/cas-
servlet.xml]: Cannot resolve reference to bean 'argumentExtractors' while
setting bean property 'argumentExtractors'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'argumentExtractors': Cannot resolve reference to bean
'googleAccountsArgumentExtractor' while setting bean property 'sourceList'
with
key [2]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'googleAccountsArgumentExtractor' defined in ServletContext
resource
[/WEB-INF/cas-servlet.xml ]: Cannot resolve reference to bean
'privateKeyFactoryBean' while setting bean property 'privateKey'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error
creating bean with name 'privateKeyFactoryBean' defined in ServletContext
resource [/WEB-INF/cas-servlet.xml]: Invocation of init method failed;
nested
exception is java.security.spec.InvalidKeySpecException: Could not create
RSA
private key

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


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

Reply via email to