tests: Fall back to using default-v1 profile while libtpms v0.11 is not required

Have the test_tpm2_swtpm_setup_check_certs use the default-v1 profile for now
to be compatible with libtpms v0.10 while libtpms v0.11 is not required, yet.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
diff --git a/tests/test_tpm2_swtpm_setup_check_certs b/tests/test_tpm2_swtpm_setup_check_certs
index 3339adf..1f30aeb 100755
--- a/tests/test_tpm2_swtpm_setup_check_certs
+++ b/tests/test_tpm2_swtpm_setup_check_certs
@@ -57,7 +57,7 @@
 create_certs_tool=\${MY_SWTPM_LOCALCA}
 create_certs_tool_config=${WORKDIR}/swtpm-localca.conf
 create_certs_tool_options=${WORKDIR}/swtpm-localca.options
-profile = {"Name": "default-v2"}
+profile = {"Name": "default-v1"}
 _EOF_
 
 # We need to adapt the PATH so the correct swtpm_cert is picked
@@ -252,7 +252,7 @@
 
 swtpm_setup_run "${WORKDIR}" "${USER_CERTSDIR}" "${TPM2_CREATEEK}" \
 	"rsa3072" "Public-Key: (3072 bit)" \
-	"rsa4096" "Public-Key: (4096 bit)"
+	"rsa2048" "Public-Key: (2048 bit)"
 echo -e "Test 3: OK\n"
 
 exit 0