toDerInputStream rejects tag type 123

1,573 views
Skip to first unread message

eriq via StackOverflow

unread,
Aug 14, 2014, 12:26:06 PM8/14/14
to google-appengin...@googlegroups.com

I am trying to run the Get started with Datastore example athttps://developers.google.com/datastore/docs/getstarted/start_java/ trying it both from the command line and from Eclipse

In both environments, it can not connect to datastore and gives an I/O error message 'toDerInputStream rejects tag type 123'

Looking around, this may be because the private key file is in json format and perhaps it should the p12 - other than that the error message draws a blank.

Could anyone point to something that would help me past this?



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/25312902/toderinputstream-rejects-tag-type-123

Gwell via StackOverflow

unread,
Aug 14, 2014, 4:46:16 PM8/14/14
to google-appengin...@googlegroups.com

You need to use PKCS#12 format, as you said, p12. There's a few other people with similar errors (although they're trying to accomplish different things). I hope this helps, let us know if it resolves the issue.

Push Notification in Java expect p12 file

toDerInputSteam rejects tag 66



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/25312902/toderinputstream-rejects-tag-type-123/25317220#25317220
Reply all
Reply to author
Forward
0 new messages