def METHOD_NAME(self):
    # create a certificate with a device id that contains all valid characters
    sub1 = self.startProcess(
        command=self.sudo,
        arguments=[
            self.tedge,
            "cert",
            "create",
            "--device-id",
            "'?=()*@!%,-.123ThinEdgeDevice-id",
        ],
        stdouterr="cert_create",
    )
    # upload the certificate
    cert_upload = self.startProcess(
        environs={"C8YPASS": self.project.c8ypass},
        command=self.sudo,
        arguments=[
            "-E",
            self.tedge,
            "cert",
            "upload",
            "c8y",
            "--user",
            self.project.c8yusername,
        ],
        stdouterr="cert_upload",
    )
    time.sleep(1)
    # connect to the c8y cloud
    self.tedge_connect_c8y()
    # test connect to the c8y cloud
    self.tedge_connect_c8y_test()