
Voorbeeld van de configuratie van een LOM-payload en het geven van commando's
De voorziening voor apparaatbeheer installeert een apparaat- en controllerconfiguratie (LightsOutManagementLOM) op beide Macs.
Deze payload brengt een vertrouwensrelatie tussen het apparaat en de controller tot stand door de certificaatautoriteiten van de ene Mac op de andere te installeren en omgekeerd.
Met deze payload geef je de identiteit van de Mac op: apparaat, controller of beide. Dit doe je met behulp van de certificaat-UUID waarnaar wordt verwezen in
ControllerCertificateUUIDenDeviceCertificateUUIDin de payloadcom.apple.lom. De certificaatpayload waarnaar wordt verwezen, kan PKCS12 of SCEP zijn.
De voorziening voor apparaatbeheer geeft het commando LOMSetupRequestCommand aan de Mac die als het apparaat fungeert.
De Mac die als het apparaat fungeert, reageert met LOMSetupRequestResponse. Deze reactie bevat de benodigde informatie voor het geven van LOM-commando's, zoals
PrimaryIPv6AddressListenSecondaryIPv6AddressList.
De voorziening voor apparaatbeheer geeft het commando LOMDeviceRequestCommand aan de Mac die als de controller fungeert.
Dit commando bevat de
DeviceDNSNamedie in de certificaatpayload voor de client is geconfigureerd. Het commando (PowerON,PowerOFFofReset) en de IPv6-adressen waarnaar de informatie moet worden verstuurd.LOMDeviceRequestResponse reageert vervolgens met
ResponseDataom aan te geven of het commando is gelukt of mislukt.
Voorbeeld van configuratieconstructie waarbij SCEP-payloads worden gebruikt voor apparaatidentiteit:
Een Mac geconfigureerd als controller
<key>PayloadContent</key><array> <dict> <key>ControllerCertificateUUID</key> <string>CA9BE302-3AD2-4E58-B16D-2520E06493CA</string> <key>DeviceCACertificateUUIDs</key> <array> <string>153517F0-D444-4DA9-9896-874E66BE89AE</string> </array> <key>PayloadDisplayName</key> <string>LOM Enrollment</string> <key>PayloadType</key> <string>com.apple.lom</string> <key>PayloadUUID</key> <string>DD64FC01-A2D2-4268-B892-33300F7205C3</string> </dict> <dict> ... <key>PayloadDisplayName</key> <string>Device CA Certificate</string> <key>PayloadType</key> <string>com.apple.security.pem</string> <key>PayloadUUID</key> <string>153517F0-D444-4DA9-9896-874E66BE89AE</string> </dict> <dict> ... <key>PayloadDisplayName</key> <string>Client Certificate</string> <key>PayloadType</key> <string>com.apple.security.scep</string> <key>PayloadUUID</key> <string>CA9BE302-3AD2-4E58-B16D-2520E06493CA</string> </dict></array>Een Mac geconfigureerd als apparaat
<key>PayloadContent</key><array> <dict> <key>ControllerCACertificateUUIDs</key> <array> <string>153517F0-D444-4DA9-9896-874E66BE89AE</string> </array> <key>DeviceCertificateUUID</key> <string>CA9BE302-3AD2-4E58-B16D-2520E06493CA</string> <key>PayloadDisplayName</key> <string>LOM Enrollment</string> <key>PayloadType</key> <string>com.apple.lom</string> <key>PayloadUUID</key> <string>DD64FC01-A2D2-4268-B892-33300F7205C3</string> </dict> <dict> ... <key>PayloadDisplayName</key> <string>Controller CA Certificate</string> <key>PayloadType</key> <string>com.apple.security.pem</string> <key>PayloadUUID</key> <string>153517F0-D444-4DA9-9896-874E66BE89AE</string> </dict> <dict> ... <key>PayloadDisplayName</key> <string>Client Certificate</string> <key>PayloadType</key> <string>com.apple.security.scep</string> <key>PayloadUUID</key> <string>CA9BE302-3AD2-4E58-B16D-2520E06493CA</string> </dict></array>Een Mac geconfigureerd als controller en als apparaat
<key>PayloadContent</key><array> <dict> <key>ControllerCACertificateUUIDs</key> <array> <string>153517F0-D444-4DA9-9896-874E66BE89AE</string> </array> <key>DeviceCertificateUUID</key> <string>CA9BE302-3AD2-4E58-B16D-2520E06493CA</string> <key>ControllerCertificateUUID</key> <string>CA9BE302-3AD2-4E58-B16D-2520E06493CA</string> <key>DeviceCACertificateUUIDs</key> <array> <string>153517F0-D444-4DA9-9896-874E66BE89AE</string> </array> <key>PayloadDisplayName</key> <string>LOM Enrollment</string> <key>PayloadType</key> <string>com.apple.lom</string> <key>PayloadUUID</key> <string>DD64FC01-A2D2-4268-B892-33300F7205C3</string> </dict> <dict> ... <key>PayloadDisplayName</key> <string>Device and Controller CA Certificate</string> <key>PayloadType</key> <string>com.apple.security.pem</string> <key>PayloadUUID</key> <string>153517F0-D444-4DA9-9896-874E66BE89AE</string> </dict> <dict> ... <key>PayloadDisplayName</key> <string>Client Certificate</string> <key>PayloadType</key> <string>com.apple.security.scep</string> <key>PayloadUUID</key> <string>CA9BE302-3AD2-4E58-B16D-2520E06493CA</string> </dict></array>