Hello everyone, I'm having problems compiling an ios app with an ad hoc certificate. When performing the build, after a while flash builder stops with the error "The signing certificate is not from the expected issuer".
To generate the p12 I used the following steps (on a windows machine), they should be correct since they have been working fine in the last years:
openssl genrsa -out mykey.key 2048
openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningRequest -subj "/emailAddress=me@my_email.com, CN=Something, C=XX"
The I submit the certSigningRequest in the apple developer portal and I convert the .cer to .p12 with the following steps:
openssl x509 -in ios_distribution.cer -inform DER -out distr_identity.pem -outform PEM
openssl pkcs12 -export -inkey mykey.key -in distr_identity.pem -out iphone_distr.p12
One thing that I noticed is that the issuer field in the .cer is as follows:
C=US,O=Apple Inc.,OU=G3,CN=Apple Worldwide Developer Relations Certification Authority
while the certificates I generated a year ago or so are different:
CN=Apple Worldwide Developer Relations Certification Authority,OU=Apple Worldwide Developer Relations,O=Apple Inc.,C=US
This happens with all newly generated ad hoc certificates (I tried on two different enterprise accounts), but doesn't on developer certificates.
Might this discrepancy be the cause for that error?
I'm using AIR 32 by the way.
Thanks in advance