Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X509 Basic Constraints and PolicyInformation #103

Open
alexrocks59 opened this issue Sep 1, 2023 · 1 comment
Open

X509 Basic Constraints and PolicyInformation #103

alexrocks59 opened this issue Sep 1, 2023 · 1 comment

Comments

@alexrocks59
Copy link

alexrocks59 commented Sep 1, 2023

We currently are using this library to generate self-signed certificate for TLS communication with a 2030.5 meter agent. The library is great and we were able to at least pass the TLS handshake passing the generated self-signed certificate.

The 2030.5 server is now passing us a bad certificate alert and not quite sure what is causing it. We have a sample cert/key generated via openssl which passes this communication. When comparing the cert generated by the library, we found this lacked the extensions basicContraints and PolicyInformation. I started looking at the library code and was wondering if you can give us some guidelines and info we can use to possibly implement these? Thanks so much

@Nikoo00o
Copy link
Contributor

Nikoo00o commented Oct 6, 2023

Hi, you can implement support for those extensions and then create a pull request similar to the one i did for the key usage here https://github.com/Ephenodrom/Dart-Basic-Utils/pull/81/files

You just have to read the certificate protocol/documentation on how your extensions have to be encoded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants