To do it via EdgeOS commands you can use
set vpn ipsec site-to-site peer your_peer authentication x509 ca-cert-file /config/auth/CA.PEM
To do it via EdgeOS commands you can use
set vpn ipsec site-to-site peer your_peer authentication x509 ca-cert-file /config/auth/CA.PEM