197
Views
5
Comments
Solved
iOS development app: "Please enter the right password for this certificate" problem
Question
Service Studio Version
11.12.8 (Build 52397)

Hi all,

I hope someone can help me with this one. I've been wanting to generate a development iOS app for testing a mobile application. I have been following the documentation to generate the certificate and provisioning profile:

https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Generate_and_Distribute_Your_Mobile_App/More_Information_on_Generating_and_Distributing_Mobile_Apps#create-a-certificate

I use the Windows steps as I have a Windows laptop. The password had to be set in command prompt when generating a p12 file when following the steps above. However, I give it directly in the command adding "-password pass:[password]" to the last command to make sure I know the password for certain. In the above documentation, it says when generating the p12 file: "You will be asked for a password, create one and remember or store it somewhere — you'll need to insert it in OutSystems. The P12 file created in the last step is the certificate to generate the iOS app."

I generate a certificate for iOS development and select Development as build type in Service Studio. However, whenever generating I get an error on the password, even though I use exactly the same password as given in creating the provision profile:

I included the build log generated in Service Center. 

The provisioning profile and app ID match. Also, I've tried generating it using Service Center, same problem occurs. Does anyone know what I am doing wrong?

Thanks for any help.

Regards,

Michiel van Lokven

Inspectie Mobile UIiOSBuildLog.txt
2021-04-12 11-47-04
Bart Nooijens
Solution

Hi Michiel,

This problem occured to me once and could not get it to work for some reason. I was 100% sure that I was using the correct password aswell. I tried multiple things. For example, added iOS configuration in Service Studio and Service Center (because at first I was thinking of some sort of cache that was doing something to the process). I ended up generating the p12 certificate multiple times and the last generation of the certificate did the trick. What was different the last time? I asked a colleague to walk through the steps with me. What was different? Nothing, but for some reason I did also explain all steps to my colleague and afterwards it did work.

Do not know if this advice is of any help but it did help me.

Best of luck,

Bart

2020-12-13 11-02-07
Michiel van Lokven

Hi Bart,

Surprisingly this worked. Asked a colleague to check it out with me with more experience in mobile iOS generation and somehow it worked.

I did use a certificate which was already generated before with a different p12. Might be that the generationn on Windows is buggy. I believe that certificate and p12 files were generated on an Apple device. 

Regards,

Michiel

2021-04-12 11-47-04
Bart Nooijens

Hi Michiel,

Good to hear that it works now.

Best,

Bart

2021-03-05 09-59-10
Telmo Pina

Hey,

I was having the same problem. Made all steps correctly to generate a .p12 to generate a iOS app, but getting this  "incorrect password" on the certificate all the time. 

I managed to fix the issue by using openssl version 1.1.1 instead of current last build (3.4.1) to generate the .p12 file.

Best regards,

Telmo

2024-07-12 05-57-50
Gourav Shrivastava
Champion

Hello All

I am in the same situation. Has anyone found the solution yet? to generate this on Windows

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.