Configuration-Profile-Reference | Version controlled mirror in markdown for Apple
kandi X-RAY | Configuration-Profile-Reference Summary
kandi X-RAY | Configuration-Profile-Reference Summary
Version controlled mirror in markdown for Apple's Configuration Profile Reference
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Configuration-Profile-Reference
Configuration-Profile-Reference Key Features
Configuration-Profile-Reference Examples and Code Snippets
Community Discussions
Trending Discussions on Configuration-Profile-Reference
QUESTION
I'm reading Apple's Configuration Profile Reference, https://developer.apple.com/business/documentation/Configuration-Profile-Reference.pdf, and on page 65 it is stated that the CodeRequirement
identity dictionary key should be a string obtained via the command codesign -display -r -
:
However, I'm not able to pass these options to my codesign
command-line app. codesign -d
works, but just returns the path of the executable:
ANSWER
Answered 2019-Oct-01 at 00:21It turns out a dash was missing:
QUESTION
I have a webapp (frontend JS / backend PHP) that generates some MDM iOS configuration profiles (*.mobileconfig) programmatically.
Website users enter some informations, call my PHP api, and my PHP backend generates a configuration profile "on-the-fly" with the user-specific data, save it on the server, and return back the URL of the generated profile, so the user can click this link and install it on its iOS device.
In short: this profile contains in its payload only a webclip (safari shortcut).
Everything works fine, the configuration profile link opens the iOS Settings app that asks the user to install this profile on its device.
My problem is that this programmatically generated profile is not signed. So the user is warned by iOS that the profile is not signed and he must do several additional actions to confirm the profile installation.
I would like that the generated profiles to be signed, so the user can install them more easily and quickly.
Questions- is it possible?
- if yes, is it possible with PHP?
- if yes, how can I do that?
I read some ressources about signing configuration profiles, by I don't understant everything, I din't have any skills about signing, certificates etc.
That's not clear for me!
Any help appreciated, thanks in advance!
...ANSWER
Answered 2018-Nov-29 at 08:48Yes you can. Also with PHP.
How?
Save the profile you want to sign to a temp file:
file_put_contents ($tmp_file_name, $profile_data);
Sign the file you have just created:
$data = shell_exec ("openssl smime -sign -in $tmp_file_name {add here another parameters you need...}");
Send the data to the client:
echo $data;
Delete the tmp file...
unlink ($tmp_file_name);
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Configuration-Profile-Reference
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page