Skip to content

Fix certificate version of self-signed X.509 certificates

Delf Neumärker requested to merge nmrkr/sila_cpp:fix-x509-version into develop

The self-signed certificate generated by generateCertificate uses an X.509v3 extension. The version field of the certificate must therfore be v3 or higher.

What is the current behavior?

The version is not set explicitly and defaults to v1 (0x00).

What is the new/improved behavior?

Set the version field is set to v3 (0x02).

Does this MR introduce any breaking changes?

No.

Checklist:

  • The commit messages follow our guidelines
  • If necessary, tests have been added
  • Docs have been added / updated
  • CHANGELOG.md has been updated in the Added/Changed section
Edited by Delf Neumärker

Merge request reports