Skip to content

Serial number mismatch? #121

@kgrimsby

Description

@kgrimsby

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

Metadata

Metadata

Assignees

No one assigned

    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