-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iPhone: "Profile Installation Failed" - The password for the certificate "phone.p12" is incorrect. #14558
Comments
I got the same problem in ubuntu 22.04 LTS 64bit python3.10.6 OpenSSL 3.0.2 , but it works fine in ubuntu20.04 LTS python3.8.10 OpenSSL 1.1.1f. |
Has anyone found a workaround for an already created instance? Also does anyone know if omgagg's changes in the openssl.yml fixes the problem? |
The omgagg mods to openssl.yml did work for me in a clean install |
I have the same issue as well with the latest Ubuntu 22.04 ... I tried running Algo again but the new p12 password was also incorrect. |
Same issue here on the latest Ubuntu 22.04. |
Still the same issue on Ubuntu 22.04 LTS |
This issue still exists, but I was able to resolve it with a minor edit omgagg's fix of adding the I didn't want to spend to much time with it, so I just changed this
to explicitly set the version that was installed (lazy fix)
but I think this or a variant of it would work properly (untested - I haven't touched ansible in years)
https://www.openssl.org/docs/man3.0/man1/openssl-pkcs12.html I just needed a working VPN again so I wasn't really doing things the right way. I'll fork and update a branch with this fix (and, you know, test it at least once) when I get a chance, but I wanted to document it a little before I forgot completely. |
…ith shell script instead. This may not work in Windows (trailofbits#14558)
…d pipefile option in the shell command for getting openssl version number (trailofbits#14558)
As a followup to my previous message, I've created a branch from the omgagg fix and changed the way it gets the openssl version. Their branch was giving me an error (below) when running in docker and it was simpler to use a shell script to set the fact and seems like it would be more reliable. I've only done limited testing though, and only using locally built docker images. Here's the error I was getting from omgagg's branch
Here's my branch with both omgagg's updates and mine, https://github.com/ExtremeModerate/algo/tree/openssl-version. Check that out and build with I haven't figured out why I occasionally need to completely delete my ec2 stack and my local configs directory and start fresh, but I assume it was something I was doing along the way since I could start clean, run a complete build, and then go back and add users successfully multiple times. |
…ed openssl tasks to fix macos/ios install issues (trailofbits#14558) original solution from https://github.com/omgagg/algo
Changes work for me but I had to remove lines 158 to 160 on |
@rdreher |
@akashSugmar He is referring to line numbers in the pull request, not in the master branch. |
I tried that it doesn't help |
Fix PKCS#12 mobileconfig installation errors when using openssl version > 3 (trailofbits#14558) trailofbits#14622 https://github.com/trailofbits/algo/pull/14622/files
Fix PKCS#12 mobileconfig installation errors when using openssl version > 3 (trailofbits#14558) trailofbits#14622 https://github.com/trailofbits/algo/pull/14622/files
im experiencing this issue too.. can't install mobileconfig profiles on my iPhone. commit 74051d0 |
Can anyone share their mobileconfig here for debug? Make sure to remove all sensitive info first |
Hopefully I didn't share too much/little. Please let me know, especially if I've inadvertently posted something identifiable!
|
Quick followup: I can't install mobileconfig IPsec configurations in Mac OS, either. When I try, I get an error that reads "Profile installation failed. The certificate could not be verified (authentication error)." It's worth noting that the WireGuard mobileconfig files do work on both iOS and Mac, however. It's just the IPsec ones that have the password/authentication issue. |
Same here. This issue seems open from 2022, but I still got it now. |
Feel free to submit a PR. I never was able to reproduce the bug in my environment. |
@sellersshrug0y |
@zenkio I have no idea what I'm doing when it comes to code :( glad you got it working though! |
If you are not familiar with modifying code, my forked version can be accessed here: https://github.com/zenkio/algo/tree/fix-profile-install-failed I am not at the level to raise a PR and test all related things. what I have done is follow the previous comments and make a workable version for my environment. |
this worked!! thanks so much! |
Describe the bug
A clear and concise description of what the bug is.
When Algo is deployed on aUbuntu 20.04 server successfully with no errors, the IKEv2 profile on iOS cannot be installed and provides the error "Profile Installation Failed" - The password for the certificate "phone.p12" is incorrect.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
That the profile can be installed correctly
Additional context
Add any other context about the problem here.
The profiles for Wireguard work correctly.
The version of iOS is 16.0.3 (20A392)
Full log
The text was updated successfully, but these errors were encountered: