diff --git a/test/dds/communication/security/secure_msg_crypto_besteffort_pub_profile.xml b/test/dds/communication/security/secure_msg_crypto_besteffort_pub_profile.xml
index f022141dbbc..2cddd15de17 100644
--- a/test/dds/communication/security/secure_msg_crypto_besteffort_pub_profile.xml
+++ b/test/dds/communication/security/secure_msg_crypto_besteffort_pub_profile.xml
@@ -34,6 +34,10 @@
dds.sec.auth.builtin.PKI-DH.private_key
file://mainpubkey.pem
+
+ dds.sec.auth.builtin.PKI-DH.preferred_key_agreement
+ ECDH
+
dds.sec.crypto.plugin
diff --git a/test/dds/communication/security/secure_msg_submsg_crypto_besteffort_pub_profile.xml b/test/dds/communication/security/secure_msg_submsg_crypto_besteffort_pub_profile.xml
index 52893db85ad..02fd757d5a7 100644
--- a/test/dds/communication/security/secure_msg_submsg_crypto_besteffort_pub_profile.xml
+++ b/test/dds/communication/security/secure_msg_submsg_crypto_besteffort_pub_profile.xml
@@ -33,6 +33,10 @@
dds.sec.auth.builtin.PKI-DH.private_key
file://mainpubkey.pem
+
+ dds.sec.auth.builtin.PKI-DH.preferred_key_agreement
+ DH
+
dds.sec.crypto.plugin
diff --git a/test/dds/communication/security/secure_msg_submsg_crypto_besteffort_sub_profile.xml b/test/dds/communication/security/secure_msg_submsg_crypto_besteffort_sub_profile.xml
index aa75b05141b..1c8fa308501 100644
--- a/test/dds/communication/security/secure_msg_submsg_crypto_besteffort_sub_profile.xml
+++ b/test/dds/communication/security/secure_msg_submsg_crypto_besteffort_sub_profile.xml
@@ -33,6 +33,10 @@
dds.sec.auth.builtin.PKI-DH.private_key
file://mainsubkey.pem
+
+ dds.sec.auth.builtin.PKI-DH.preferred_key_agreement
+ ECDH
+
dds.sec.crypto.plugin
diff --git a/test/dds/communication/security/secure_submsg_crypto_besteffort_pub_profile.xml b/test/dds/communication/security/secure_submsg_crypto_besteffort_pub_profile.xml
index 980504e7765..c2e965d58ac 100644
--- a/test/dds/communication/security/secure_submsg_crypto_besteffort_pub_profile.xml
+++ b/test/dds/communication/security/secure_submsg_crypto_besteffort_pub_profile.xml
@@ -33,6 +33,10 @@
dds.sec.auth.builtin.PKI-DH.private_key
file://mainpubkey.pem
+
+ dds.sec.auth.builtin.PKI-DH.preferred_key_agreement
+ ECDH
+
dds.sec.crypto.plugin
diff --git a/test/dds/communication/security/secure_submsg_crypto_besteffort_sub_profile.xml b/test/dds/communication/security/secure_submsg_crypto_besteffort_sub_profile.xml
index 1620727e044..1b0e60bf40b 100644
--- a/test/dds/communication/security/secure_submsg_crypto_besteffort_sub_profile.xml
+++ b/test/dds/communication/security/secure_submsg_crypto_besteffort_sub_profile.xml
@@ -33,6 +33,10 @@
dds.sec.auth.builtin.PKI-DH.private_key
file://mainsubkey.pem
+
+ dds.sec.auth.builtin.PKI-DH.preferred_key_agreement
+ DH
+
dds.sec.crypto.plugin
diff --git a/test/dds/communication/security/simple_secure_besteffort_pub_profile.xml b/test/dds/communication/security/simple_secure_besteffort_pub_profile.xml
index 22cc6eb66f4..810290c344b 100644
--- a/test/dds/communication/security/simple_secure_besteffort_pub_profile.xml
+++ b/test/dds/communication/security/simple_secure_besteffort_pub_profile.xml
@@ -26,6 +26,10 @@
dds.sec.auth.builtin.PKI-DH.private_key
file://mainpubkey.pem
+
+ dds.sec.auth.builtin.PKI-DH.preferred_key_agreement
+ ECDH
+
dds.sec.access.plugin
diff --git a/test/dds/communication/security/simple_secure_besteffort_sub_profile.xml b/test/dds/communication/security/simple_secure_besteffort_sub_profile.xml
index f3ab9d334d3..856454aef12 100644
--- a/test/dds/communication/security/simple_secure_besteffort_sub_profile.xml
+++ b/test/dds/communication/security/simple_secure_besteffort_sub_profile.xml
@@ -26,6 +26,10 @@
dds.sec.auth.builtin.PKI-DH.private_key
file://mainsubkey.pem
+
+ dds.sec.auth.builtin.PKI-DH.preferred_key_agreement
+ DH
+
dds.sec.access.plugin