使用来自 GoDaddy 的 spc 文件签署 Java 小程序 [英] Signing a java applet with an spc file from GoDaddy

查看:22
本文介绍了使用来自 GoDaddy 的 spc 文件签署 Java 小程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用来自 Godaddy 的 spc 文件签署一个 Java 小程序.这是我正在使用的命令:

I'm trying to sign a java applet using an spc file from godaddy. Here's the command I'm using:

keytool -import -keystore codesignstore -storepass [pass] -alias [alias] -file [filename]

不幸的是,运行此命令返回

Unfortunately, running this command returns

keytool 错误:java.lang.Exception:输入的不是 X.509 证书

我与 GoDaddy 谈过,他们向我保证这确实是一个有效的 X.509 证书,否则提供 0 帮助.有谁知道如何使这项工作?我已经阅读了一些评论,这些评论表明问题可能出在别名上,但我们已经尝试了创建 CSR 时指定的别名以及 GoDaddy 中指定的别名.另外,有人注意到这个问题可能与这个java bug有关:http:///bugs.sun.com/bugdatabase/view_bug.do?bug_id=4874076.但是,我在他们在该错误报告中指出的类型的 spc 中没有看到任何奇怪的 URL.预先感谢您的帮助.

I talked to GoDaddy and they assure me that it is indeed a valid X.509 certificate and otherwise provided 0 help. Anyone know how to make this work? I've read a few comments that suggest that the problem might be the alias, but we've tried the alias we specified when creating the CSR as well as the one specified in GoDaddy. In addition, some note that the problem may be related to this java bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4874076. However, I don't see any odd URLs in the spc of the type they note in that bug report. Thanks in advance for your help.

推荐答案

虽然我不知道是什么导致了错误,但我能够通过正确遵循 GoDaddy 的说明.我们最初生成了自己的 CSR,然后在部分过程中跳到了 GoDaddy 的说明中.对于遇到此问题但在阅读/遵循说明方面有问题的其他人,请不要让自己头疼,然后按照 GoDaddy 概述的步骤重新开始.

While I don't know what was causing the error, I was able to get through the signing process by properly following GoDaddy's instructions. We originally generated our own CSR and then jumped into GoDaddy's instructions part of the way through. For others with this problem that have problems reading/following instructions, save yourself the headache and start over again following the steps that GoDaddy outlines.

这篇关于使用来自 GoDaddy 的 spc 文件签署 Java 小程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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