-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[BUG]: Apple Certificate Fails to Install #19383
Comments
Hi @SharpMobileCode, Thank you for the feedback! As I see openssl 3.1.4 and openssl 3.2 contains -legacy option which wasn't deprecated now. Also, the error itself is different and not say that you have an old/unsupported certificate, are you sure that you're passing a valid certificate? Also could you please try to remove |
Hi @DmitriiBobreshev, thanks for response. I took at the certificate file again and it seem to have been corrupted in transit to me. When I would manually tried to install it I got an error. I had it regenerated and verified the new one wasn't corrupted. Uploaded to the Secure File Storage and now it seems to be working. So it seems it was just a bad file! My apologizes, no bug intended. Thanks for the feedback! |
The issue is reappearing in macos-15 (preview) Xcode 16
|
Is there any resolution to this? I have the same problem also with macos-15. Had to change to macos-15 because XCode 16 was no longer supported on macos-14. |
This affects me too :( |
New issue checklist
Task name
InstallAppleCertificate@2
Task version
2
Issue Description
This is related to #18560, but since the work around is no longer working, I'm opening another issue.
When attempting to install the Apple Certificate with:
I receive the following error:
The previous workaround in adding the
opensslPkcsArgs: '-legacy'
seemed to fix the issue in the past, with older versions of openssl. However, it seems that themacos-13
image now has a newer version of openssl in where the-legacy
parameter has been removed. You can see the "Unrecognized flag legacy" message in the above log.So how can I get my iOS Apple Certificate installed? I'm open to suggestion.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
MacOS 13
Relevant log output
Full task logs with system.debug enabled
Repro steps
The text was updated successfully, but these errors were encountered: