Skip to content

TestBundleFromFile broken on master #1110

@cpu

Description

@cpu

👋 Hi folks,

It looks like the TestBundleFromFile unit test is failing on master and breaking builds:

--- FAIL: TestBundleFromFile (0.16s)
    bundle_from_file_test.go:346: expected no error. but an error occurred: {"code":1211,"message":"x509: certificate has expired or is not yet valid: current time 2020-05-26T18:33:28-04:00 is after 2020-05-07T22:37:00Z"}
FAIL
FAIL	github.com/cloudflare/cfssl/bundler	0.180s
FAIL

It seems like the bundler/testdata/cfssl-leaf-rsa3072.pem test file has expired as of May 7th and is causing the test failure:

cfssl on  master [!] via 🐹 v1.14.2
💀 openssl x509 -in bundler/testdata/cfssl-leaf-rsa3072.pem -noout -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            2f:6d:7b:52:07:47:fd:b9:0e:82:4b:65:27:30:2b:87:99:81:17:f1
        Signature Algorithm: ecdsa-with-SHA384
        Issuer: C = US, ST = California, L = San Francisco, O = CloudFlare, OU = Systems Engineering, CN = cloudflare-inter.com
        Validity
            Not Before: May  8 22:37:00 2019 GMT
            Not After : May  7 22:37:00 2020 GMT
       <snipped>

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