diff --git a/test/recipes/80-test_cmp_http_data/Mock/CMP_LRA_DOWNSTREAM_Root.pem b/test/recipes/80-test_cmp_http_data/Mock/CMP_LRA_DOWNSTREAM_Root.pem new file mode 100644 index 0000000000000..3883b118d6cd5 --- /dev/null +++ b/test/recipes/80-test_cmp_http_data/Mock/CMP_LRA_DOWNSTREAM_Root.pem @@ -0,0 +1,16 @@ +-----BEGIN CERTIFICATE----- +MIIClzCCAfigAwIBAgIHAKqqAAAACTAKBggqhkjOPQQDBDBaMQswCQYDVQQGEwJE +RTEQMA4GA1UEChMHU2llbWVuczEXMBUGA1UECxMOVGVzdERlcGFydG1lbnQxIDAe +BgNVBAMMF0NNUF9MUkFfRE9XTlNUUkVBTV9ST09UMB4XDTIzMTAwNDEwMjQzNFoX +DTM1MTAwNDExMjQzNFowWjELMAkGA1UEBhMCREUxEDAOBgNVBAoTB1NpZW1lbnMx +FzAVBgNVBAsTDlRlc3REZXBhcnRtZW50MSAwHgYDVQQDDBdDTVBfTFJBX0RPV05T +VFJFQU1fUk9PVDCBmzAQBgcqhkjOPQIBBgUrgQQAIwOBhgAEAclEdI6QNYddUmzK +l33WIiDTBv+I8An32PpJOvN5nwNNuzwjt1Byldm0khEfzqK7nPOsdAaVK/rtH7kp +ZhGGLlVdAUTjA8+NUPN3v61dv9e7aZe2+ceCuAcVAi9EJGt9uU2Ep1RUK3CWjOqF +0vxHwrYSBa1FJf9tUanBijpy6RMVWvl5o2YwZDAfBgNVHSMEGDAWgBQlkyLoZECp +ByMoGxLAmBniOsOGyzAdBgNVHQ4EFgQUJZMi6GRAqQcjKBsSwJgZ4jrDhsswEgYD +VR0TAQH/BAgwBgEB/wIBATAOBgNVHQ8BAf8EBAMCAYYwCgYIKoZIzj0EAwQDgYwA +MIGIAkIAmUz9YKFGbVvMp3O8mkbJJPn5xnWW6zAAep/N9/OmcHA5GI0xUFZbiWpu +JpEX8gVbLpi2v8hY/5SYdIHqmvLeuq4CQgE8pa3omvkst/V0cSfSXEQpA7IOaT/p +7nYzi54DiQtMIwp7JnX/ydomIIBbOpjBC6gIw8tbzqUfZICqVzB0wtatSQ== +-----END CERTIFICATE----- diff --git a/test/recipes/80-test_cmp_http_data/Mock/ENROLL_Root.pem b/test/recipes/80-test_cmp_http_data/Mock/ENROLL_Root.pem new file mode 100644 index 0000000000000..272f64498da06 --- /dev/null +++ b/test/recipes/80-test_cmp_http_data/Mock/ENROLL_Root.pem @@ -0,0 +1,16 @@ +-----BEGIN CERTIFICATE----- +MIICfzCCAeCgAwIBAgIHAKqqAAAAATAKBggqhkjOPQQDBDBOMQswCQYDVQQGEwJE +RTEQMA4GA1UEChMHU2llbWVuczEXMBUGA1UECxMOVGVzdERlcGFydG1lbnQxFDAS +BgNVBAMMC0VOUk9MTF9ST09UMB4XDTIzMTAwNDEwMjQzNFoXDTM1MTAwNDExMjQz +NFowTjELMAkGA1UEBhMCREUxEDAOBgNVBAoTB1NpZW1lbnMxFzAVBgNVBAsTDlRl +c3REZXBhcnRtZW50MRQwEgYDVQQDDAtFTlJPTExfUk9PVDCBmzAQBgcqhkjOPQIB +BgUrgQQAIwOBhgAEAYfJKaAfaJpUh+z67LPhQSRix2nhvhFJfpic2IE5hbOC7UzK +FIfZIpRPejEre9T1iTFqAmsQAKkuJmIsiN+/IHmbAXyFxoX+YxPBKaEW+fnv5ONz +Bu4DZ7Wwfh3tp6gf+11FZ+QHcOcFEfjLqsCYh8eKrSdL8UuBakWVRSKVXYSzGJqB +o2YwZDAfBgNVHSMEGDAWgBTMbM0KCx2wtkFa35+BjpTspFCNVDAdBgNVHQ4EFgQU +zGzNCgsdsLZBWt+fgY6U7KRQjVQwEgYDVR0TAQH/BAgwBgEB/wIBATAOBgNVHQ8B +Af8EBAMCAYYwCgYIKoZIzj0EAwQDgYwAMIGIAkIBu7Gg92zeAx0tZ5Ra5sw8oGFU +QoaFo94o3g+bVoqt5zask4sI6AErhg0GlBnKefq/gg50IsbYOqmvTHYahEi5DSMC +QgFcy21azze3mK33BuAZaRGoq7DpEPZ1OINeqCBPfCpgxjADUV5vYtZgNe3JQ8/j +tNDR+POAGx/aqlbYZXccpt9HCw== +-----END CERTIFICATE----- diff --git a/test/recipes/80-test_cmp_http_data/Mock/test.cnf b/test/recipes/80-test_cmp_http_data/Mock/test.cnf index 2e5957b6f3304..b1e21697959ed 100644 --- a/test/recipes/80-test_cmp_http_data/Mock/test.cnf +++ b/test/recipes/80-test_cmp_http_data/Mock/test.cnf @@ -1,11 +1,11 @@ [default] batch = 1 # do not use stdin total_timeout = 8 # prevent, e.g., infinite polling due to error -trusted = trusted.crt +trusted = CMP_LRA_DOWNSTREAM_Root.pem newkey = new.key newkeypass = cmd = ir -out_trusted = root.crt +out_trusted = ENROLL_Root.pem #certout = test.cert.pem policies = certificatePolicies #policy_oids = 1.2.3.4 @@ -25,7 +25,7 @@ server_path = pkix/ path = $server_path ca_dn = /CN=Root CA recipient = $ca_dn -server_dn = /CN=server.example +server_dn = /C=DE/O=Siemens/OU=TestDepartment/CN=CMP_LRA_DOWNSTREAM_ENDENTITY expect_sender = $server_dn subject = "/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=leaf" newkey = signer.key