这个证书是由一个不被承认的团体颁发的 [英] Certificate was issued by an unrecognized Entity

查看:48
本文介绍了这个证书是由一个不被承认的团体颁发的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Eclipse中创建一个应用程序,以使用googleAPI将文本从英语翻译为法语.我正在以这种格式传递网址 url ="https://www.googleapis.com/language/translate/v2?key&q=Hello&source=en&target=fr"; 我正在使用HttpConnection

I am creating an application in Eclipse to translate text from english to french using googleAPI. I am passing the url in this format url="https://www.googleapis.com/language/translate/v2?key&q=Hello&source=en&target=fr"; I am using HttpConnection

我收到此错误:

certificate was issued by an unrecognized entity

我阅读了所有其他论坛,并尝试在SDK3.0中调用GoogleAPi,但仍然出现相同的错误. 所有论坛都在说这是由于仿真器造成的,这的确是事实.当我在手机中部署应用程序时,效果很好.

I read all other forums and tried to invoke GoogleAPi in SDK3.0 but still same error comes. All the forums are saying that it is due to emulator and this is the really case. when i deploy app in phone it works fine.

任何人都可以告诉您如何解决此问题,以便在模拟器中不会出现此错误吗?

Can anybody tell how to solve this problem so it does not give this error in emulator?

推荐答案

J2ME Wireless Toolkit提供了一个证书管理器,以帮助您维护默认仿真器的密钥库(J2ME密钥库)中的证书.

A Certificate Manager is provided by the J2ME Wireless Toolkit to help you maintain the certificates in the Default Emulator’s keystore (J2ME keystore).

  1. 打开J2ME无线工具包($ WTK_HOME/bin/ktoolbar)
  2. 选择文件->实用程序
  3. 选择管理证书

从J2SE密钥库导入

要使用证书管理器从J2SE密钥库导入证书,请执行以下操作:

To import a certificate from a J2SE Keystore using the Certificate Manager:

  1. 选择操作->导入J2SE证书.
  2. 指定安全域以与要导入的证书关联.
  3. 从文件选择器中选择一个密钥库文件.
  4. 在密码"对话框中输入密码以访问密钥库.
  5. 在选择别名"对话框的别名列表"中选择证书的别名.

证书被附加到J2ME密钥库中的证书列表中.您可以在"J2ME密钥详细信息"窗格中选择证书以查看其密钥信息.

The certificate is appended to the list of certificates in the J2ME Keystore. You can select the certificate to view its key information in the J2ME Key Details pane.

这篇关于这个证书是由一个不被承认的团体颁发的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆