Posted on 01-30-2014 01:05 PM
Hey,
I have a script that sets the wireless identity preference cert (smime), but now I need to know the command to set the identity preference certificate for the wired network.
Por ejemplo:
#Find installed certs with smime
cert=security find-identity -p smime | sed '/Policy/,/Valid identities only/ d' | cut -d " " -f 4
#Set identity preference for Wired Network
security set-identity-preference -s "insert ethernet service name here" -Z $cert
With the set-identity-preference command what do you call for Ethernet? "com.apple.network.eap.user.identity.wlan.ssid.NETWORKNAME" is for wireless.
Or is this even necessary using EAP-TLS?
Posted on 05-26-2016 12:49 PM
I am also in same need, I am confused about what can be the "set-identity-preference command what do you call for Ethernet?" .
I have googled regarding this, the only link I am able to get is,
http://apple.stackexchange.com/questions/193631/802-1x-management-on-the-command-line
In the above link they have specified as , for ethernet we have to give identity preference as, security set-identity-preference -c ${CN} -Z ${FINGERPRINT} -s com.apple.network.eap.user.identity.default but it is not working for me..
Posted on 05-26-2016 01:20 PM
Does this thread help?
https://jamfnation.jamfsoftware.com/discussion.html?id=19488
Posted on 05-26-2016 09:36 PM
The above thread explains, how to set identity preferences for WLAN(wireless) EAP-TLS,
but I need to set identity preference cert for 802.1.X Wired (Ethernet).