'Add cert to targetHttpProxy to make it a targetHttpsProxy.'

def add_cert(self, certname, title):

    bs_upsert = copy.deepcopy(self.__proto_upsert)
    bs_upsert['certificate'] = certname
    payload = self.agent.make_json_payload_from_kwargs(job=[bs_upsert], description=('Upsert    L7    Load    Balancer:    ' + self.__lb_name), application=self.TEST_APP)
    contract_builder = gcp.GcpContractBuilder(self.gcp_observer)
    self._add_contract_clauses(contract_builder, bs_upsert)
    return st.OperationContract(self.new_post_operation(title=title, data=payload, path='tasks'), contract=contract_builder.build())
