ipsec-tools: Use IDTYPE_ASN1DN for certificate-based IPSec tunnels.

Change-Id: I589c18af8095a4461ef9cc52489a2d0864872762
diff --git a/setup.c b/setup.c
index 94cc9b8..b56c503 100644
--- a/setup.c
+++ b/setup.c
@@ -261,6 +261,7 @@
         pre_shared_key = argv[3];
         auth = OAKLEY_ATTR_AUTH_METHOD_PSKEY;
     } else {
+        remoteconf.idvtype = IDTYPE_ASN1DN;
         remoteconf.myprivfile = argv[3];
         remoteconf.mycertfile = argv[4];
         remoteconf.cacertfile = argv[5];