How to work with a previously generated .csr flie?

Hi, this is my first time here.
I’m trying to generate an iOS app.
I have used Volt Signer to create a .csr file. Then I have sent it to my customer so he can create the .cer and .mobileprovision files.
Two days later he send them back to me, but now Volt Signer asks me to create a new .csr file before letting me to upload the .cer file.
If I create a new .csr file, uploading the .cer file fires a Private Key error.
What can I do?
Thank you in advance.

Luis.

For security purposes, the import of the .cer file needs to be done in the same session as the generation of the .csr file.

Can your customer do the whole thing on his computer?

Ok. I understand. I will try to explain my customer the situation.
Thank you!

Hi again,

Our customer has succesfully created all the files: .csr, .cer. mobileprovision and .p12.
But now I get this error:

UserError: Malformed mobileprovision. Could not find UUID

If I open the .mobileprovision file in a plain text editor I can find this information, so it’s present:

<key>UUID</key>
<string>real value here</string>

I’m asking my customer to grant me admin privileges but I would like to understand the problem in order to fix it. Thanks again for your patience.

Luis

Can you please email support@volt.build and attach the mobileprovision file so we can take a look? Thanks!

Just sent. Thank you!

I see the UUID as well. Could there be a problem with your voltbuilder.json? Are you using the iosDistribution for the mobileprovision?

Looking at the project you shared, I can see that you’ve got a small problem in your voltbuilder.json. It currently looks like this (I’ve removed the password):

{
  "iosDistP12": "certificates/ios_distribution.p12",
  "iosDistribution": "certificates/ios_distribution.cer",
  "iosProvisioningProfile": "certificates/Distribucion_DipToledoDeportes.mobileprovision",
  "iosPackageType": "app-store",
  "release": "release"
}

It should look like this:

{
  "iosDistP12": "certificates/ios_distribution.p12",
  "iosDistribution": "certificates/Distribucion_DipToledoDeportes.mobileprovision",
  "iosPackageType": "app-store",
  "release": "release"
}

This should resolve the error. Please let me know if you have further trouble!