قالب وردپرس درنا توس
Home / Apple / wifi – Trust SSL certificate via terminal in MacOS

wifi – Trust SSL certificate via terminal in MacOS



I am trying to set up WPA2 with EAP-TLS authentication using pfx format certificates.

When you add the certificate to the keychain and change the Trust settings, it may be difficult for some users. I'd like to scan it.

I can import the certificate using the following command:

  security import certificate.pfx -k ~ / Library / keychains / login.keychain

However, the certificate must be "trusted" before it can be used to authenticate to the radius server.

Does anyone know how to trust the certificate through the command line (so it can be written)?

Thanks!


Source link