When you configure authentication-method pre-shared-keys at the [edit services ipsec-vpn ike proposal proposal-name] hierarchy level, IKE policy preshared keys authenticate peers; for more information, see Configuring an IKE Authentication Method. You must manually configure a preshared key, which must match that of its peer. The preshared key can be an ASCII text (alphanumeric) key or a hexadecimal key.
To configure an IKE policy preshared key, include the pre-shared-key statement and a key at the [edit services ipsec-vpn ike policy policy-name] hierarchy level:
-
pre-shared-key (ascii-text key | hexadecimal key);
The key can be one of the following: