Backstory:
We are switching from a peap network to a SCEP eap-tls network. I have created a script that clears out the old certs as well as the config profile associated with it. The script then runs recon to update jamf.
The new SCEP config profile excludes users with the given certificate name of the old Peap configuration. So when the script runs recon it will then show that it no longer has the old cert and will take down the new SCEP config profile.
Currently, when attempting to connect to the network a box appears asking to select EAP-TLS and the proper identity associated with it. Is there a way to automate this?
I have tried everything under
/usr/bin/networksetup
security set-identity-preference -s com.apple.network.eap.user.identity.wlan.ssid.wifi_network -Z $cert
(wifi_network is generic, real ssid will be here)
``
