My VPN dis-/connect workflow script
scutil --nc start "My VPN connection"
isn't working since upgrading to macOS High Sierra (stable Version, v10.13.2).
I used an Alfred workflow to connect to my VPN connections which uses
scutil command under the hood.
Dialog with error message
Translated to english: The IPsec certificate (shared secret) is missing. Please check your settings and retry.
This box appears after trying to start a VPN connetion with the command.
I found out, that using AppleScript is working so far. The workaround looks like:
tell application "System Events" tell current location of network preferences set VPNservice to service "My VPN connection" if exists VPNservice then connect VPNservice end tell end tell
- Is this intended? (Didn't found detailed information about this)
- Are there any new "security related" settings which I have to modify before switching to AppleScript approach?