How To Distribute Shield Network Profiles to Your macOS Devices via Jamf Pro

macOS devices require a network profile so they know how to connect to and authenticate with your network. This guide explains how to distribute these profiles to your devices using Jamf Pro.

Overview - How to Distribute Shield Network Profiles to macOS via Jamf Pro

To connect your Jamf Pro-managed devices to your network, you need to distribute a network profile that includes the necessary network settings, authentication methods, and certificates. This guide will walk you through the steps to configure and push these profiles to your devices using Jamf Pro.

How Does Distributing Network Profiles to macOS via Jamf Pro Work?

Pushing a network profile to a managed device in Jamf Pro requires a few different pieces to properly configure trust, encryption, and authentication. This typically involves:

  1. Trusted Certificate: For a device to trust your Shield identities, server endpoints, and network infrastructure, it must have your Shield’s Root CA certificate pushed to its trusted certificate store. Without this certificate, the device will not be able to establish a secure connection to Shield for network access or authentication.
  2. ACME Certificate: Every Jamf Pro managed device needs its own identity and certificate, which is delivered via the ACME protocol. Shield communicates with your device and with Jamf Pro via ACME to ensure that each device has a unique and trusted identity for network authentication.
  3. Wi-Fi Profile: A Wi-Fi profile contains the necessary network settings, such as the SSID, security type, and authentication method, required for the device to connect to your network. This profile ensures that the device can automatically connect to the network using the appropriate credentials and certificates provisioned through Jamf Pro.

Step-by-Step Guide - How to Distribute Shield Network Profiles to macOS via Jamf Pro

Follow this guide to distribute your Keytos Shield network profiles to your devices using Jamf Pro. This includes setting up the necessary certificates, creating Wi-Fi profiles, and testing the configuration to ensure your devices can connect securely to your network.

Prerequisites for Setting Up Network Profiles in Jamf Pro

  1. The Keytos Entra ID applications are registered in your tenant.
  2. You have signed up for a Keytos Shield Plan.
  3. You have existing access policies in Keytos Shield.
  4. You are a Subscription Owner or Network Administrator.
  5. You are an Jamf Pro Administrator.

Step 1: How to Create a Service Connection in Jamf Pro for ACME Device Attestation with Keytos Shield

Before you can distribute network profiles and certificates, you will need to create a Service Connection in Jamf Pro for ACME device attestation. This allows Shield to communicate with Jamf Pro for certificate issuance and profile management. Follow these steps to create a Service Connection:

How to Create a Service Connection in Jamf Pro for ACME Device Attestation

  1. Navigate to your Jamf Pro instance.

  2. From the left-hand menu, click on Settings and open API roles and clients.

    How to create Jamf Pro API Roles and Clients
  3. Under the API Roles tab, click on the + New button to create a new API role.

    How to Create a New API Role in Jamf Pro
  4. Enter the following information for your new API role:

    • Name: A name for the API role (e.g., “Keytos Shield ACME Certificates”).
    • Privileges: Select Read Computers and Read Mobile Devices. These privileges allow Keytos Shield to read the list of enrolled devices in your Jamf Pro instance.
  5. Click Save to create the new API role.

    How to Create an API Role in Jamf Pro
  6. Click the back arrow to return to the API Roles and Clients page, and then click on the API Clients tab.

  7. Click on the + New button to create a new API client.

    How to Create New API Client in Jamf Pro
  8. Enter the following information for your new API client:

    • Display name: A name for the API client (e.g., “Keytos Shield ACME Certificates”).
    • API roles: Select the API role you created earlier (e.g., “Keytos Shield ACME Certificates”).
    • Access token lifetime: Keep this as its default value of 60.
    • Click the Enable API client button to enable the API client.
    How to Create API Client in Jamf Pro
  9. Click Save to create the new API client.

  10. Click Generate client secret to generate a new client secret for the API client. You will need this value, along with the Client ID, in the next step.

    How to Generate Client Secret for API Client in Jamf Pro

How to Enable ACME Device Attestation in Your Keytos Shield Subscription

Now that you have your Jamf Client ID and Client secret, you can set up the Jamf ACME-integration in Shield. Use the Onboarding guide tab if you are still onboarding, or the Network profiles page tab if you have already finished set up.

If you are still working through the onboarding guide, you can simply set up the Jamf ACME-integration without leaving the page.

  1. In step 2, Tell us about your environment, select the MDM solution(s) you use within your environment, including Jamf Pro. You can select as many as applicable.

  2. When you enable Jamf Pro, it will prompt you for information. Enter the following information for your Jamf Pro instance:

    • Provider URL: The URL of your Jamf Pro instance (e.g., https://yourcompany.jamfcloud.com).
    • Client ID: The Client ID you generated when creating the API client in Jamf Pro.
    • Client Secret: The Client Secret you generated when creating the API client in Jamf Pro.
  3. Click Test Connection to ensure that Shield can communicate with your Jamf Pro instance. If the test is successful, you will see a green checkmark and a message indicating that the connection was successful. How to Test Connection for Jamf Pro ACME integration in Keytos Shield

  4. Click Save Changes to apply your changes and enable the integration with the selected MDM solution(s). How to Fill in Save Jamf Pro Configuration in Keytos Shield

If you’ve already gone through the onboarding guide, you can set up the Jamf ACME-integration directly from the network profiles page.

  1. Log in to your Keytos Shield portal.

  2. From the left-hand menu, select Network profiles.

  3. From the top tabs, select Settings.

  4. Expand Mobile Device Management.

    Accessing MDM Settings in Keytos Shield
  5. Select the MDM solution(s) you use within your environment, including Jamf Pro. You can select as many as applicable.

  6. When you enable Jamf Pro, it will prompt you for the following:

    • Provider URL: The URL of your Jamf Pro instance (e.g., https://yourcompany.jamfcloud.com).
    • Client ID: The Client ID you generated when creating the API client in Jamf Pro.
    • Client Secret: The Client Secret you generated when creating the API client in Jamf Pro.
  7. Click Test Connection to ensure that Shield can communicate with your Jamf Pro instance. If the test is successful, you will see a green checkmark and a message indicating that the connection was successful. How to Test Connection for Jamf Pro ACME integration in Keytos Shield

  8. Click Save MDM Configuration to apply your changes and enable the integration with the selected MDM solution(s). How to Fill in Save Jamf Pro Configuration in Keytos Shield

Leave this tab open because you will need to come back in a bit to grab a few pieces of information.

Step 2: How to Push Your Shield CA Certificates as Trusted Certificates on Jamf Pro Devices via Jamf Pro

For your devices to establish a secure connection to Keytos Shield, you need to distribute the Shield CA certificates (both Root and Issuing) to your devices via Jamf Pro.

How to Download Your Shield Root and Issuing CA Certificates

If you are still working through the onboarding guide, you can simply download the Root and Issuing CA certificate without leaving the page.

  1. Scroll down and expand step 6, Set Up Mobile Device Management (MDM).

  2. Expand the Jamf Pro subsection.

    Not seeing the Jamf Pro subsection? Make sure to enable Jamf Pro in step 2, Tell us about your environment and save your changes.

  3. Next to rootca.cer, click Download and save it to your local machine.

  4. Next to issuingca.cer, click Download and save it to your local machine as well.

    Keytos Shield Download Root CA and Issuing CA Certificate File button highlighted

If you’ve already gone through the onboarding guide, you can download your Root and Issuing CA certificates from the Network profiles page.

  1. Log in to your Keytos Shield portal.

  2. From the left-hand navigation bar, click on Network Profiles.

  3. At the top of the page, select the Settings tab.

    Keytos Shield Settings tab highlighted
  4. Scroll down to the Certificate Authority and Enrollment section and expand the Jamf Pro subsection.

    Not seeing the Jamf Pro subsection? Make sure to enable Jamf Pro under the Mobile Device Management section further up on the page and save your changes.

  5. Next to rootca.cer, click Download and save it to your local machine.

  6. Next to issuingca.cer, click Download and save it to your local machine as well.

    Keytos Shield Download Root CA and Issuing CA Certificate File button highlighted

How to Push Your Keytos Shield CA Certificates in Jamf Pro

Follow these steps to push your Keytos CA certificates to your devices using Jamf Pro.

  1. In your Jamf Pro portal, go to Computers > Configuration Profiles.

    Jamf Pro Configuration Profiles
  2. Click + New to create a new Configuration Profile (or edit an existing one if you already have a profile configured).

    Create a New Jamf Pro Configuration Profile
  3. Under the General section add a Name and Description for your profile. This helps you identify the profile later.

    Jamf Pro Configuration Profile General Section
  4. Scroll down to the Certificates section and click the Configure button to add a new certificate (or click + if you already have a Certificate).

    Add Certificate to Jamf Pro Configuration Profile
  5. Enter the certificate details for your CA certificate:

    • Certificate Name - a friendly name for your certificate, such as Keytos Shield Root CA.
    • Select - select Upload and choose the CA certificate file from your local machine.
    • Password - leave this blank since the CA certificate does not require a password.
    • Allow all apps access - check this option to allow all applications on the device to access the certificate.
    • Allow export from keychain - check this option to allow the certificate to be exported from the device’s keychain. (it’s ok since this is just your root CA’s certificate and not a private key)
    Upload Keytos Shield Server CA Certificate to Jamf Pro Configuration Profile
  6. If you have any other certificates, such as an Intermediate CA, click + to add another certificate following the same steps as above.

    Add Additional Certificate to Jamf Pro Configuration Profile
  7. Click Save to save the Configuration Profile with the new certificate and push it to your devices.

    Save Jamf Pro Configuration Profile

Step 3 - How to Issue an ACME Certificate to a Device via Jamf Pro

Now that you have configured your trusted CA certificates, you can now configure Jamf Pro to issue ACME certificates to your Apple devices using your Keytos Shield CA. Follow these steps to configure Jamf Pro to issue ACME certificates:

How to Get Your ACME URL from Keytos Shield

If you are still working through the onboarding guide, you can simply copy the ACME URL without leaving the page.

  1. Scroll down and expand step 6, Set Up Mobile Device Management (MDM).

  2. Expand the Jamf Pro subsection.

    Not seeing the Jamf Pro subsection? Make sure to enable Jamf Pro in step 2, Tell us about your environment and save your changes.

  3. Next to ACME URL, click Copy. You’ll need this in a little bit.

    Keytos Shield onboarding Set Up Mobile Device Management (MDM) step showing the Jamf Pro subsection with ACME URL Copy button highlighted

If you’ve already gone through the onboarding guide, you can copy the ACME URL directly from the network profiles page.

  1. Log in to your Keytos Shield portal.

  2. Navigate to Network Profiles.

  3. At the top of the page, select the Settings tab.

    Keytos Shield Settings tab highlighted
  4. Scroll down to the Certificate Authority and Enrollment section and expand the Jamf Pro subsection.

    Not seeing the Jamf Pro subsection? Make sure to enable Jamf Pro under the Mobile Device Management section further up on the page and save your changes.

  5. Next to ACME URL, click Copy.

    ACME URL in Jamf Pro Section
  6. You’ll need this URL in the next section when configuring an ACME certificate in Jamf Pro.

How to Configure an ACME Certificate in Jamf Pro

  1. Navigate back to your Jamf Pro tab where you were configuring your Configuration Profile, and scroll up to the ACME Certificate section.

  2. Click on the + Add button to add a new ACME certificate.

    Add ACME Certificate in Jamf Pro Configuration Profile
  3. Enter the following information for your ACME certificate:

    • ACME directory URL: Paste the ACME URL you copied from your Keytos Shield portal (labeled ACME Device Registration URL in EZCA and ACME URL in Keytos Shield).
    • Client identifier: Set this to $SERIALNUMBER to use the device’s serial number as the client identifier.
    • Key Size: Set this to 384 for a strong, elliptic curve key that is hardware bound. You can set this as needed based on your use case and device support.
    • Key Type: Set this to ECSECPrimeRandom
    • Hardware Bound: Set this to true so the device’s secure enclave is used to generate the key and store it securely on the device.
    • Redistribute Profile: Specify the days from expiration that Jamf Pro should redistribute the profile to devices. We’ll set this to 15 days.
    • Subject Name: Use the available variables and any static values you want to build the subject name for the certificate. You can see the full list of Jamf supported dynamic values here. For example, you could use CN=$UDID to set the Common Name of the certificate to the device’s unique device identifier or CN=$USERNAME to set the Common Name of the certificate to the user or device’s username.
    • Subject Alt Name: Set the following recommended SAN values:
      • RFC822Name: $EMAILADDRESS (if issuing user certificates)
      • DNS*: $HOSTNAME (if issuing device certificates)
    • Extended Key Usage: 1.3.6.1.5.5.7.3.2 for client authentication. You can add additional EKU values as needed for your use case.
    • Attest: We recommend setting this to True.
    • Allow All Apps Access: Set this to false, unless you have specific 3rd party apps (VPNs) that require access to the certificate. If you are using the certificate for Jamf Pro and Apple’s built-in Wi-Fi or VPN, you do not need to check this box.
    • Key Is Extractable: Set this to false to prevent the private key from being exportable from the device’s secure enclave.
  4. Click Save to save your ACME certificate configuration.

    ACME Settings in Jamf Pro Configuration Profile

Step 4 - How to Add a Wi-Fi Network to macOS Devices via Jamf Pro

Follow these steps to add a Wi-Fi network to your devices using Jamf Pro.

How to Get Your RADIUS Server Names in Keytos Shield

If you are still working through the onboarding guide, you can simply copy the RADIUS server names without leaving the page.

  1. Scroll down and expand step 6, Set Up Mobile Device Management (MDM).

  2. Expand the Jamf Pro subsection.

    Not seeing the Jamf Pro subsection? Make sure to enable Jamf Pro in step 2, Tell us about your environment and save your changes.

  3. Next to RADIUS server names, click Copy all. You’ll need these in a little bit.

    Keytos Shield onboarding Set Up Mobile Device Management (MDM) step showing RADIUS server names list with Copy all button highlighted

If you’ve already gone through the onboarding guide, you can copy the RADIUS server names directly from the network profiles page.

  1. Log in to your Keytos Shield portal.

  2. On the left-hand menu, click on Network Profiles.

  3. At the top of the page, select the Settings tab.

    Keytos Shield Settings tab highlighted
  4. Scroll down to the Certificate Authority and Enrollment section and expand the Jamf Pro subsection.

    Not seeing the Jamf Pro subsection? Make sure to enable Jamf Pro under the Mobile Device Management section further up on the page and save your changes.

  5. Click the Copy all button next to the RADIUS server names.

    Keytos Shield RADIUS server names list

How to Create a Wi-Fi Network Profile in Jamf Pro

  1. Begin in your Jamf Pro configuration profile where you’ve already configured your trusted CA certificates and SCEP/ACME certificate.

  2. Scroll down to the Network payload and click on the Configure button.

    Configure Wi-Fi Payload in Jamf Pro
  3. Set the following values:

    • Network Interface: Keep as Wi-Fi
    • SSID: Set this to the exact name of your Wi-Fi network (case sensitive)
    • Security Type: Set this to your Wi-Fi security type (e.g. WPA2/WPA3 Enterprise)
  4. Under the Protocols tab set Accepted EAP Types to EAP-TLS

  5. Under the Trust tab, set the following values:

    • Trusted Certificates: Check the box for every Keytos Shield CA certificate you have uploaded.
    • Trusted Server Certificate Names: Add every RADIUS Server name that you copied in the previous step, one value per entry.
    Keytos Shield Server Certificate Subject and SAN values
  6. Configure the remaining settings as follows:

    • Username: Set this to anonymous or leave blank (this value is not used for EAP-TLS authentication)
    • Identity Certificate: Select the ACME/SCEP certificate that you configured in the previous step.
    Select SCEP Certificate for EAP-TLS Authentication in Jamf Pro Wi-Fi Profile
  7. Click Save to save the Wi-Fi payload configuration and push it to your devices.

Step 5 - How to Scope Your Configuration Profile to Users

Now that you have configured all of the Options in your new Configuration Profile, the next step is to set the Scope for which users and devices will receive this profile.

  1. Click on the Scope tab at the top of the page.
  2. Under Target Computers and Target Users, select the users and devices that you want to receive this Wi-Fi configuration. For example you can select All Users and All Computers.
  3. Click Save to save the Configuration Profile with the new Scope settings.

Step 6 - How To Test Your Wi-Fi Configuration in macOS

Now that you have configured your Jamf Pro Wi-Fi profile to use Cloud RADIUS for authentication, the next step is to test the configuration on a managed macOS device. Follow these steps to test your Wi-Fi configuration:

  1. On a managed macOS device, click on the Wi-Fi icon in the menu bar and select the Wi-Fi network that you configured in your Jamf Pro Wi-Fi profile.

  2. If your configuration is correct, the device should successfully connect to the Wi-Fi network without any prompts.

    macOS device successfully connected to Wi-Fi
  3. If you are prompted to select a certificate for the network, your Wi-Fi profile is not fully configured: usually the RADIUS server’s Subject and Subject Alternative Names are missing from the trusted server names, a CA in the server certificate chain is not trusted, or the SCEP certificate has not been issued to the device yet.