Onboard macOS devices with certificates using Addigy and SCEP
In this topic, you will learn how to deploy Portnox™ Cloud SCEP certificates via Addigy, SCEP, and iMazing Profile Editor to manage macOS devices.
Addigy lets you create simple profiles using the cloud user interface but does not let you create profiles with many payloads, which you need to connect to Portnox Cloud using SCEP. However, you can distribute custom profiles using Addigy, so you can create a custom profile and then use Addigy for management.
This topic shows you how to create a custom Apple profile for user-based authentication to connect to Portnox Cloud via Wi-Fi and Ethernet. We recommend that you use a free app called iMazing Profile Editor, but you can create a custom profile using a different tool or edit it manually in XML, if you prefer.
Turn on the Portnox Cloud SCEP services
In this section, you will configure Portnox™ Cloud to provide SCEP services to your devices.
If you have previously turned on the Portnox Cloud SCEP services, skip to the later step in which you get the Cloud SCEP URL and password.
Portnox Cloud SCEP services let devices contact the Cloud SCEP server and get a unique certificate for the device or for the specific user of the device.
-
In the Cloud portal top menu, click on the Settings option.
-
In the Cloud portal left-hand side menu, click on the
option.
-
Enable integration with SCEP services.
- Click on the Edit link.
- Activate the Enable integration checkbox.
- Click on the Save button.
- Click on the ⧉ icon next to the SCEP URL field to copy the SCEP URL, and paste it in a text file for later use.
-
Click on the ⧉ icon next to the Password field to
copy the SCEP password, and paste it in a text file for later use.
Download the root CA certificate
In this section, you will download the root CA certificate from Portnox™ Cloud, which is needed to create a profile.
-
In the Cloud portal top menu, click on the Settings option.
-
In the Cloud portal left-hand side menu, click on the
option.
-
Click on any of the RADIUS servers listed in the right-hand pane to show its configuration.
-
Click on the Download root certificate link.
Result: The root CA certificate file is in the Downloads folder on the local disk.
Download the tenant CA certificate
In this section, you will download the Portnox™ Cloud tenant CA certificate from the Cloud portal.
You need the tenant CA certificate from Portnox Cloud so that your managed devices can verify the validity of individual SCEP certificates, which are signed using the tenant CA certificate.
-
In the Cloud portal top menu, click on the Settings option.
-
In the Trusted Root Certificates section, click on the Download link,
then save the downloaded file.
The default name of the file is Your_tenant_name - Portnox CLEAR.pfx, for example, Portnox - Portnox CLEAR.
The downloaded tenant CA certificate is a file in the Personal Information Exchange binary format (PFS, also known as PKCS#12), which you cannot use directly. You need to convert it to the Base-64 encoded X.509 format (sometimes referred to as CER or PEM).
Convert the tenant CA certificate
In this section, you will convert the downloaded tenant CA certificate into the Base-64 encoded X.509 format.
You need this certificate in the Base-64 encoded X.509 format, which is sometimes called the PEM format. Files with this format usually have the .pem or .cer extension, but files in the DER binary format also have the .cer extension.
The following are three recommended ways to convert the PKCS#12 certificate into Base-64 encoded X.509:
-
Convert the tenant CA certificate using Windows certificate management.
You need to download the certificate to a Windows computer or copy it to a Windows computer.
-
Convert the tenant CA certificate using OpenSSL.
If you have OpenSSL installed on your macOS device, you can use it to convert certificates. OpenSSL is not installed by default and the installation requires using a third party package or compiling OpenSSL from source.
-
Convert the tenant CA certificate using a third-party online converter.
Important: The following converters are not affiliated in any way with Portnox. They were found using web search and verified to support the required conversion. If needed, search the web for other converters.
- RVSSL (select PFX/PKCS#12 as the input format and Standard PEM as the output format)
- SSL Shopper (select PFX/PKCS#12 as the input format and Standard PEM as the output format)
Create the custom profile
In this section, you will use the iMazing Profile Editor to create an Apple profile for use in Addigy, which contains the following payloads: the root CA certificate, the tenant CA certificate, the SCEP configuration for user-based authentication, the Wi-Fi configuration, and the Global Ethernet configuration.
-
Install the iMazing Profile
Editor and open it from the Launcher.
To install iMazing Profile Editor, follow the links from the iMazing website and the standard installation procedure in the operating system.
Note: By default, when you run iMazing Profile Editor, it opens a new profile window and the General section. If not, select from the top menu to open a new profile window. -
In the right-hand side pane, in the Name section, enter a name for this profile.
We used the name Vorlon SCEP but you can use any name you like.
-
On the left-hand side of the profile window, scroll down to the Root Certificate icon, click
on it, and in the right-hand side pane click on the Add Configuration Payload button.
-
In the file selector, locate and click on the root CA certificate file, downloaded as described in the previous
section, and then click on the Open button.
-
Copy the value of the Payload UUID field and save it for later use.
You will need to add a reference to this root CA certificate in the Wi-Fi and Ethernet payloads later, so that the device can confirm the identity of the RADIUS server.
Note: Make a note next to this value that says root CA UUID. -
In the top-right corner of the right-hand side pane, click on the + button
to add another root certificate payload.
-
In the file selector, locate and click on the tenant CA certificate file, downloaded and converted as described in
the previous sections, and then click on the Open button.
-
Copy the value of the Payload UUID field and save it for later use.
You will need to add a reference to this tenant CA certificate in the Wi-Fi and Ethernet payloads later, so that the device can confirm the SCEP certificate validity.
Note: Make a note next to this value that says tenant CA UUID. -
On the left-hand side of the profile window, scroll down to the SCEP icon, click on it, and
in the right-hand side pane click on the Add Configuration Payload button.
-
In the SCEP pane on the right-hand side, configure the following properties:
-
On the left-hand side of the profile window, scroll down to the Wi-Fi icon, click on it, and
in the right-hand side pane click on the Add Configuration Payload button.
-
In the Wi-Fi pane on the right-hand side, configure the following properties:
-
On the left-hand side of the profile window, scroll down to the 802.1X Ethernet: Global
icon, click on it, and in the right-hand side pane click on the Add Configuration Payload
button.
Note: Depending on your hardware configurations, you can choose a different 802.1X Ethernet payload, for example, First Active Ethernet. The setup procedure is almost the same for all 802.1X payloads.
-
In the 802.1X Ethernet: Global pane on the right-hand side, configure the following
properties:
- In the top menu of iMazing Profile Editor, select , and select a location to save the profile.
Result: The custom profile file (.mobileconfig) is saved on the disk and ready for use in Addigy.
Add the custom profile to Addigy
In this section, you will upload the custom profile file to Addigy and assign it to an existing policy, so that Addigy can distribute it to managed devices.
- Log in to your Addigy account by visiting app.addigy.com.
-
In the main Addigy menu on the left-hand side, click on the Catalog option, and then in the
right-hand side pane, click on the MDM Profiles heading.
You can also open the following URL in your browser: app.addigy.com/catalog/profiles.
-
Click on the New button on the right-hand side above the list of profiles.
-
Click on the Custom Profile button in the top-right corner of the right-hand side
pane.
-
In the Custom Profile pane, leave the default values or modify them as needed, and click on
the Select .mobileconfig file button. Then, select the custom profile file that you prepared
earlier.
-
Scroll down the pane that contains profile details, and in the bottom-right corner, click on the
Create button.
-
In the list of profiles, click on the … menu icon next to the newly
created profile name, and select the Assignments option.
-
In the Item Policies window, select the policies that you want to assign this profile to, and
then click on the Save button.