facebook

Certificate and private key do not match: CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #329098 Reply

    J2O
    Member

    Hi, I am trying to build my first app, have gone through instructions to download all certificates and private key however it gives me an error that certificate and private key do not match? How can I resolve this?

    #329283 Reply

    Hi J2O,

    More commonly the app is build with a bad provision profile:
    – ensure that your provision profile is for ad-hoc distribution; an app-store distribution profile is only valid for apps downloaded from appstore
    – ensure that your device’s UDID is included in the ad hoc provision profile, if not then the installation will terminate

    #329284 Reply

    support-michael
    Keymaster

    @J2O

    > certificate and private key do not match? How can I resolve this?

    Try to find the private key file which you used in creating the certificate signing request.

    Your certificate and private key files are a matched pair. If you loose your private key file your certificate and provision profiles are useless for building apps. You must treat your private key file with care. It can not be recreated.

    if it is lost then start over from scratch
    Clean up –
    a) delete your old certs, pks, profiles…. if you keep them around you’ll just confuse them in the future with valid build data files
    b) login to apple ios dev provision portal
    c) revoke your certficates and profiles

    Create new PK, CSR, Cert, Provision Profiles
    d) follow the procedure exactly as outlined http://www.genuitec.com/mobile/docs/appledigitalsignature/appledigitalsignature.html
    Place your private key file, cert file, profiles files in a new well labeled directory and keep it clean
    e) do not generate new private keys unless you plan to start over and repeat this process

    #329442 Reply

    J2O
    Member

    Thanks for the help, realised I didn’t download the right file from the provisioning centre.

    J2O

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Certificate and private key do not match: CLOSED

You must be logged in to post in the forum log in