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?