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

Serial number mismatch? #121

Open
kgrimsby opened this issue Sep 9, 2021 · 0 comments
Open

Serial number mismatch? #121

kgrimsby opened this issue Sep 9, 2021 · 0 comments

Comments

@kgrimsby
Copy link

kgrimsby commented Sep 9, 2021

Hi,

I'm testing django-x509 for my application. Upon creating client certificate I noticed something strange regarding serial_number.

From database:
Serial number: 169979165402110668045607377783554886462
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
88:77:73:03:c1:e5:4a:5c:81:4f:58:20:6d:cf:bf:01

88:77:73:03:c1:e5:4a:5c:81:4f:58:20:6d:cf:bf:01 = 181395223527710912757353954506106191617 (which is also the result i get from crypto (get_serial_number()).

So why isn't the serial number on the db entry and the certificate itself the same?

/Kristian

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

1 participant