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

Normalise SSL certificate's issuer and subject #2880

Open
jcamiel opened this issue Jun 5, 2024 · 0 comments
Open

Normalise SSL certificate's issuer and subject #2880

jcamiel opened this issue Jun 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Jun 5, 2024

We're exposing the subject and issuer directly from libcurl. In the certificate, these properties are list of pair of key-value. Through libcurl, these lists are serialized to a string:

Example:

vec![("C","US"),("O","Google Trust Services LLC"),("CN","GTS Root R1"))] =>
"C = US, O = Google Trust Services LLC, CN = GTS Root R1"

We should normalize the serialization (use 'A = B' or 'A=B') to always have the same issuer/
subject given a certain certificate. Actually the value can differ on different platforms, for
a given certificate.

See:

@jcamiel jcamiel added the enhancement New feature or request label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant