@@ -29,7 +29,7 @@ Select Private key using tedge-p11-server URI
29
29
... We set the URI on tedge-p11-server, which means that all connecting clients will use the selected key until
30
30
... tedge-p11-server is restarted with a different URI.
31
31
32
- Set tedge-p11-server Uri value=
32
+ Unset tedge-p11-server Uri
33
33
Tedge Reconnect Should Succeed
34
34
35
35
# expect failure if we try to use a token that doesn't exist
@@ -55,8 +55,7 @@ Select Private key using tedge-p11-server URI
55
55
# but when URI has correct label, we expect valid key to be used again
56
56
Set tedge-p11-server Uri value=pkcs11:token=tedge;object=tedge
57
57
Tedge Reconnect Should Succeed
58
-
59
- Set tedge-p11-server Uri value=
58
+ [Teardown] Unset tedge-p11-server Uri
60
59
61
60
Select Private key using a request URI
62
61
[Documentation] Like above, we select the key using a URI, but this time we include it in a request, which means
@@ -77,7 +76,7 @@ Select Private key using a request URI
77
76
78
77
Connects to C8y using an RSA key
79
78
[Documentation] Test that we can connect to C8y using an RSA private keys of all sizes.
80
- [Setup] Set tedge-p11-server Uri value= ${ EMPTY }
79
+ [Setup] Unset tedge-p11-server Uri
81
80
[Template] Connect to C8y using new keypair
82
81
type=rsa bits=4096
83
82
type=rsa bits=3072
@@ -87,7 +86,7 @@ Connects to C8y using an RSA key
87
86
Connects to C8y supporting all TLS13 ECDSA signature algorithms
88
87
[Documentation] Check that we support all ECDSA sigschemes used in TLS1.3, i.e: ecdsa_secp256r1_sha256,
89
88
... ecdsa_secp384r1_sha384, ecdsa_secp521r1_sha512.
90
- [Setup] Set tedge-p11-server Uri value= ${ EMPTY }
89
+ [Setup] Unset tedge-p11-server Uri
91
90
[Template] Connect to C8y using new keypair
92
91
type=ecdsa curve=secp256r1
93
92
type=ecdsa curve=secp384r1
@@ -96,7 +95,7 @@ Connects to C8y supporting all TLS13 ECDSA signature algorithms
96
95
Can use PKCS11 key to renew the public certificate
97
96
[Documentation] Test that `tedge cert renew c8y` works with all supported keys. We do renew 2 times to see if we
98
97
... can renew both a self-signed certificate and a certificate signed by C8y CA.
99
- [Setup] Set tedge-p11-server Uri value= ${ EMPTY }
98
+ [Setup] Unset tedge-p11-server Uri
100
99
101
100
Test tedge cert renew type=ecdsa curve=secp256r1
102
101
Test tedge cert renew type=ecdsa curve=secp384r1
@@ -255,4 +254,4 @@ Custom Setup
255
254
${csr_path } = Execute Command cmd=tedge config get device.csr_path strip=${True }
256
255
ThinEdgeIO.Register Device With Cumulocity CA ${DEVICE_SN } csr_path=${csr_path }
257
256
258
- Set tedge-p11-server Uri value=
257
+ Unset tedge-p11-server Uri
0 commit comments