Code signing issues

6

2

I have purchased a certificate from godaddy, which is now in .pfx format. I tried to convert it into .cer using Internet Explorer and Firefox. I tried to to sign midlet using converted .cer, but I get following error message:

The KeyStore does not contain private key associated with this alias !! Cannot sign

How to get work done?

Jigar Joshi

Posted 2010-04-27T14:32:04.443

Reputation: 399

Answers

3

There is a Stackoverflow Question on this with a OpenSSL based answer.

from there,

openssl pkcs12 -in xxxx.pfx -out mycertificates.crt -nokeys -clcerts

nik

Posted 2010-04-27T14:32:04.443

Reputation: 50 788

"java.security.cert.certificateParsingException Invalid der encoded data."

getting this message. – Jigar Joshi – 2010-04-28T04:23:37.767

i tried doing this but when i select export private key , i am getting .cer (DER encoded) option disabled . and midletsigner utility need provatekey anyhow.. – Jigar Joshi – 2010-04-28T04:39:01.570

solved this issue with..

Keytool –importkeystore –srckeystore “The_Name_Of_The_PFX_file.PFX” –destkeystore Name_For_The_Key_store.jks –srcstoretype PKCS12 – deststoretype JKS – Jigar Joshi – 2010-04-28T06:19:49.563

now midlet is signed..but root certificate is not there in device i think as its showing domain as :"Untrusted" – Jigar Joshi – 2010-04-28T06:20:45.630

i have installed its root certificate certificate..

using this symcaimport.redelijkheid.com/

now settings>security>certificates>godaddy>select use>

there are three options

server auth. cross certi. app signing

among which app sign is disabled..

and when i install the app and click on it it shows invalid application "Delete ?"

rot certificate i have installed is from https://certs.godaddy.com/anonymous/repository.seam Go Daddy Class 2 Certification Authority Root Certificate (DER Format)

– Jigar Joshi – 2010-04-28T09:54:07.957