j2me midlet 为 E71 签名

发布于 2025-01-07 04:21:46 字数 360 浏览 1 评论 0原文

我创建了一个 Midelt,它可以访问手机联系人详细信息 [读写联系人] 和访问网络,该应用程序在 S60 模拟器上运行良好。

当我尝试在诺基亚 E71 中安装时,出现认证错误。

我已经使用下面的链接创建了证书。当我尝试将其安装到手机中时,仍然收到认证错误。

http://www.j2start.com/

任何人都可以建议吗,有什么方法可以实际测试 midlet诺基亚 e71 设备没有 CA 证书?

如果证书是强制性的,

哪一个 CA [Verisign 或 Thawte] 最适合诺基亚 E71?

I have created a Midelt which accesses phone contact details [read and write contacts] and access network, this application is working fine S60 emulator.

When I try to install in Nokia E71, it is giving certification error.

I have created certificate using below link. When I try to install it in the phone still I am getting the certification error.

http://www.j2start.com/

Can anybody suggest, is there any way to test a midlet in actual Nokia e71 device without certificate from CA?

If certificate is mandatory,

which is the most suitable CA [Verisign or Thawte ] for Nokia E71?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

南风起 2025-01-14 04:21:46

该页面(您签署应用程序的地方)指出,证书的有效期是在2010年9月1日至2011年9月17日之间。您需要将设备的日期设置为有效期之间的任何日期。

如果同样的错误仍然存​​在,请尝试检查jad中的证书并检查手机中是否有相同的证书。

  1. 在您的计算机中找到 JadTool.jar。您可以在Java SDK安装目录或WTK安装目录中找到它。如果您找不到它,只需从互联网上下载即可。为简单起见,将其放在(根目录)C:(我假设您使用的是 Windows,如果不是,请稍后告诉我;))。
  2. 将已签名的 jad 文件复制到 C 中。(我希望您将 JadTool.jar 和应用程序的 jad 文件这两个文件放在一个目录中,最好是 C 目录,作为后续步骤的先决条件:D)
  3. 打开终端/命令提示符。转到C;输入 cd \ (再次假设您使用的是 Windows。)
  4. 仍然在终端上输入 java -jar JadTool.jar -showcert -all -inputjad YourAppName.jad。注意字母的大小写。
  5. 在上一步中,您可以查看 jad 文件中有哪些证书可用。您可以查看每个证书的详细信息。让我们重点关注指纹。例如,如果您看到 Thawte 证书,请记下其 SHA 指纹。
  6. 检查您设备中的证书。这些证书通常可以在设置下的安全中找到。如果 jad 中有 Thawte 证书,则必须检查设备中的 Thawte 证书。将 jad 中找到的 Thawte SHA 指纹与设备的 Thawte 指纹进行比较。如果它们匹配,则具有此证书的应用程序可以安装在设备上。如果它们不匹配,那么您很可能无法将此证书与 jad 文件一起使用。
  7. 对其余证书执行步骤 6 和 7。如果你找不到任何一对
    然后,通过签名,您很可能无法在设备上安装您的应用程序。

顺便说一句,即使应用程序未签名,您仍然可以在设备上安装应用程序。如果您的应用程序未签名,则会出现一个问题,即用户将受到安全提示的干扰。然而,这也可以最小化。请参阅我关于如何最小化这些提示的答案。

It was stated in that page (where you signed your app) that the validity of the certificate is between Sept 1, 2010 to Sept 17, 2011. You need to set your device's date to any date between the validity period.

If the same error persists, try to check the certificates in the jad and check if the same certificate is in the phone.

  1. Find JadTool.jar in your machine. You may find it in the Java SDK installation directory or WTK installation directory. If you can't find it then simply download it from the internet. For simplicity, put it in (root directory) C: (I'm assuming you're using Windows, if not then tell me later ;)).
  2. Copy your signed jad file in C. (I want you to have both files, JadTool.jar and your app's jad file, in one directory, preferably C, as a prerequisite of the next steps :D)
  3. Open terminal/command prompt. Go to C; type cd \ (Again, I'm assuming you're on Windows.)
  4. Still on the terminal, type java -jar JadTool.jar -showcert -all -inputjad YourAppName.jad. Mind the case of the letters.
  5. On the previous step, you can see which certificates are available in your jad file. You can see the details of each certificate. Let's focus on the fingerprints. If, for example, you see a Thawte certificate, take note of its SHA fingerprint.
  6. Check the certificates in your device. The certificates are usually found in Security under Settings. If you have a Thawte certificate in the jad then you must check the Thawte certificates in the device. Compare the Thawte SHA fingerprint found in the jad against the Thawte fingerprint of the device. If they match then the app with this certificate is install-able on the device. If they don't match then it is more likely that you cannot use this certificate with your jad file.
  7. Do steps 6 and 7 for the rest of the certificates. If you can't find any pair
    then, with the signing, it is more likely that you cannot install your app on your device.

By the way, you can still install your app on the device even if it is unsigned. One problem, if your app is unsigned, is that the user will be be bugged with security prompts. However, this can also be minimized. See my answer on how to minimize these prompts.

纸伞微斜 2025-01-14 04:21:46

这可能是问题所在,因为您的证书是旧的,或者只是检查手机上的日期。您的手机可能运行的是旧版本。

This could be the problem becase your either your certificate is old or just check the date on your phone. Your Phone might be running old date.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文