java开发spc,签名Java小程序与GoDaddy的一个SPC文件

博主在尝试使用GoDaddy的SPC文件签署Java Applet时遇到‘Input not an X.509 certificate’错误。GoDaddy确认证书有效,但无法提供进一步帮助。最终,通过严格按照GoDaddy的指导重新操作解决了问题。建议其他遇到类似问题的用户重新按照步骤操作,避免因理解或操作不当造成的困扰。
摘要由CSDN通过智能技术生成

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 error: java.lang.Exception: Input not an X.509 certificate

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.

解决方案

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值