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

Revoked certificate is flagged as valid #251

Open
sorcio46 opened this issue Nov 10, 2021 · 1 comment
Open

Revoked certificate is flagged as valid #251

sorcio46 opened this issue Nov 10, 2021 · 1 comment

Comments

@sorcio46
Copy link

I was testing this library with the following use case:

I was expecting the result of this test to be invalid due to the error ERR_CERT_REVOKED active on the certificate but this is what I got:

{
    "daysRemaining": 352,
    "valid": true,
    "validFrom": "2021-10-27T00:00:00.000Z",
    "validTo": "2022-10-27T23:59:59.000Z",
    "validFor": [
        "revoked.badssl.com"
    ]
}
@mitikov
Copy link

mitikov commented Nov 11, 2021

Here are some tests proving it does not work [runkit] for that case specifically, rest looks fine.

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

2 participants