Skip to content

test_certificates failed #28

@luras-oil

Description

@luras-oil

test_creating_cert(self) failed for self.assertEqual(certificate.common_name, "TestCert_CodeSign/C=GB")
The common_name of the test certificate is None by method _get_common_name(self)

The subject get from the cert is "subject=CN = TestCert_CodeSign, C = GB, emailAddress = apple@myers.io", it doesn't match the regex
match = re.search(r"subject=./CN=(.)./.", subject).

And the match result shouldn't be "TestCert_CodeSign/C=GB"?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions