Lines Matching refs:cert

90                 self.pkg("set-publisher -k {key} -c {cert} -p {url}".format(
92 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
99 self.pkg("set-publisher -k {key} -c {cert} -p {url}".format(
101 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
108 # are still possible. (The paths to key and cert should be
118 # Listing the test publisher causes its cert and key to be
133 "-k {key} -c {cert} -p {url}".format(
135 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
148 "-k {key} -c {cert} -p {url}".format(
150 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
158 "-k {key} -c {cert} -g {url} test".format(
160 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
169 """ Test that an expired cert for one publisher doesn't prevent
180 # Set https-based publisher with correct cert.
182 self.pkg("set-publisher -k {key} -c {cert} -p {url}".format(
184 cert=good_cert_path,
190 # Replace cert of first publisher with one that is expired.
192 # test if the cert validation code works correctly so we are not
193 # actually using the cert.
204 # the cert for the first publisher.
220 # Set https-based publisher with correct cert.
222 self.pkg("set-publisher -k {key} -c {cert} -p {url}".format(
224 cert=good_cert_path_1,
228 self.pkg("set-publisher -k {key} -c {cert} -p {url}".format(
230 cert=good_cert_path_2,
234 # Replace cert of first publisher with one that is expired.
262 # Retrive the correct CA and use it to generate a new cert.
274 # Set https-based publisher with expiring cert.
276 self.pkg("image-create -f --user -k {key} -c {cert} "
279 cert=os.path.join(cg.cs_dir, "{0}_cert.pem".format(test_cs)),
373 # Image must be created first before seeding cert files.