Lines Matching refs:cert
2287 # now sign with a key, cert and chain cert and check we fail
2316 sign_args = "-k {key} -c {cert} -i {i1} -i {i2} " \
2319 cert=os.path.join(self.cs_dir, "cs1_ch5_ta1_cert.pem"),
3911 "cert": os.path.join(self.cs_dir,
3930 self.pkgrepo("-s {url} info --key {key} --cert {cert}"
3934 self.pkgrepo("-s {url} list --key {key} --cert {cert}"
3938 self.pkgrepo("-s {url} get --key {key} --cert {cert}"
3942 self.pkgrepo("-s {url} refresh --key {key} --cert {cert}"
3946 self.pkgrepo("-s {url} rebuild --key {key} --cert {cert}"
3950 self.pkgrepo("-s {url} contents --key {key} --cert {cert}"
3954 self.pkgrepo("-s {url} diff --key {key} --cert {cert}"
3955 " -s {url} --key {key} --cert {cert}".format(**arg_dict))
3957 self.pkgrepo("diff --key {key} --cert {cert} -s {url}"
3958 " -s {url} --key {key} --cert {cert}".format(**arg_dict),
3961 # Test only provides key and cert to the first repo.
3962 self.pkgrepo("-s {url} diff --key {key} --cert {cert} "
3965 self.pkgrepo("-s {url} diff --key {key} --cert {cert} "
3968 # Test only provides key and cert to the second repo.
3970 "--cert {cert}".format(**arg_dict))
3973 "--cert {cert}".format(**arg_dict), exit=1)
3975 # Try without key and cert (should fail)
3984 self.pkgrepo("-s {url} rebuild --cert {cert}".format(**arg_dict),
3989 "--cert {noexist}".format(**arg_dict), exit=1)
3993 "--cert {cert}".format(**arg_dict), exit=1)
3997 "--cert {empty}".format(**arg_dict), exit=1)
4001 "--cert {cert}".format(**arg_dict), exit=1)
4005 "--cert {verboten}".format(**arg_dict), su_wrap=True, exit=1)
4009 "--cert {cert}".format(**arg_dict), su_wrap=True, exit=1)