Skip to content

X509Cert.set_serial breaks for Certificate SerialNumbers with MSB=1 #823

@sclasen

Description

@sclasen

This was posted 2 years ago on the jruby-ossl repo, but that looks like the wrong place

See jruby/jruby-ossl#7

 Java::JavaLang::IllegalArgumentException:
       serial number must be a positive integer
     # org.bouncycastle.x509.X509V3CertificateGenerator.setSerialNumber(Unknown Source)
     # org.jruby.ext.openssl.X509Cert.set_serial(X509Cert.java:304)
     # org.jruby.ext.openssl.X509Cert.initialize(X509Cert.java:167)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions