I am having trouble generating the needed pkcs8 private key for the
java client application.
Google has published instructions here:
http://code.google.com/apis/gdata/docs/auth/oauth.html#openssl
The first command:
# Generate the RSA keys and certificate
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -sha1 -subj \
'/C=US/ST=CA/L=Mountain View/CN=www.example.com' -keyout \
myrsakey.pem -out /tmp/myrsacert.pem
is successful and generates the myrsakey.pem file.
The second command:
openssl pkcs8 -in myrsakey.pem -topk8 -nocrypt -out myrsakey.pk8
fails with "unable to load key"
I have been able to reproduce this problem on multiple machines with
different operating systems and installations of openssl. Has anyone
else experienced this behavior? What am I missing?
David
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.