toDerInputStream rejects tag type 123

别来无恙 提交于 2019-12-24 01:54:42

问题


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

In both environments, it is not able to 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?


回答1:


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



来源:https://stackoverflow.com/questions/25312902/toderinputstream-rejects-tag-type-123

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!