Skip to content

'Certificate has expired' error for Let's Encrypt certificates (DST Root CA X3 issued) #10338

Closed

Description

@felipeabou

Is there an existing issue for this?

  • I have searched the existing issues

Describe the Issue

I've seen that this problem has happened before: #8589

The problem started today. Postman says the SLL certificate is expired, but it's not:
image

We use Letsencrypt to deal with SSL on our APIs and believe it could have something to do with this: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

By now, I'm using the disable “SSL certificate verification” workaround.

This problem happened with version 9.0.3 and also with version 8~, because I tried to rollback to solve it, with no luck.

Also, when using the Postman Web, the issue is not happening. It only happens with the Native App version.

Steps To Reproduce

  1. Try to hit any API that uses Letsencrypt to deal with SSL certificates.

Screenshots or Videos

Postman error:
image

Checking the same SSL on Chromium:
image

Environment Information

- Operating System: Ubuntu 20.02
- Platform Type: Native App
- Postman Version: 9.0.3

Additional Context?

No response

Activity

  1. adamsommer commented on Sep 30, 2021

    @adamsommer

    +1

    - Operating System: macOS 10.15.7
    - Postman Version: 9.0.3
    
  2. numaanashraf commented on Sep 30, 2021

    @numaanashraf
    Contributor

    Postman v8 and v9 seems to be impacted by the recent cert expiry https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/. We are investigating this now.

  3. numaanashraf commented on Sep 30, 2021

    @numaanashraf
    Contributor

    As a workaround, please turn off SSL verification via Settings > General.

    Screenshot 2021-09-30 at 8 53 58 PM

  4. changed the title [-]Postman says the SLL certificate is expired, but it's not[/-] [+]'Certificate has expired' error for certificate issuer R3[/+] on Sep 30, 2021
  5. amurrell commented on Sep 30, 2021

    @amurrell

    +1

    also using lets encrypt and valid certs till nov 1st - acting up today. Upgraded to latest postman version and it's still not working. Disabled ssl verification for now.

  6. idkw commented on Sep 30, 2021

    @idkw

    Same :

    • OS : Linux Mint 20
    • Kernel : 5.4.0-88-generic
    • Postman : 8.11.1
  7. Ray-B commented on Sep 30, 2021

    @Ray-B

    +1

    • OS: Big Sur 11.6
    • Postman: 9.0.3
  8. numaanashraf commented on Sep 30, 2021

    @numaanashraf
    Contributor

    Thanks for your patience everyone. We have identified the issue and are testing out a potential fix internally. Once we have the fix verified, we'll release a patch on our v8.x and v9.x release lines.

  9. trixie88 commented on Sep 30, 2021

    @trixie88

    +1
    postman V: 9.0.3

  10. mikeamcbrien commented on Sep 30, 2021

    @mikeamcbrien

    +1

    • OS: Big Sur 11.6
    • Postman: 9.0.3
  11. danielgelling commented on Sep 30, 2021

    @danielgelling

    Also on:

    • Postman Version 8.12.1
    • OS X 20.6.0 / x64
  12. Freyert commented on Sep 30, 2021

    @Freyert

    The LetsEncrypt expiration is a bit confusing because the expired certificate is left in the chain for backwards compatibility purposes from what we've read on their blog.

    So there are two paths for the certificates, the new shorter valid path, and the longer expired path.

    That is to say the issue is likely not that the trust store is missing a certificate, but that postman is ignoring the valid certificate path.

    Update:

    If postman is using a version of NodeJS older than 5 years it's likely they don't have the ISRG Root X1 in the trust chain.

    https://github.com/nodejs/node/blame/master/src/node_root_certs.h#L2602-L2631

    If someone wants to try you can extend the built in certificates via the environment variable NODE_EXTRA_CA_CERTS nodejs/node#9139

    Update 2:

    I've tried manually adding the CA for ISRG Root X1 from NodeJS to no avail. It's likely a conflict in the TLS resolution paths. If you want to try yourself just copy and paste the certificate I linked here into a file ending with .pem and import it into postman as you are accustomed to.

    I don't know much about Postman so maybe someone can figure out how to get more details from there or correctly configure the certificate.

  13. numaanashraf commented on Sep 30, 2021

    @numaanashraf
    Contributor

    @Freyert Postman uses Electron, which has a non-standard Node + BoringSSL integration. We believe this is happening cuz boringSSL is not configured to prefer the shorter part by default. We have patched this internally and is also working on upstreaming this.

    electron/electron#31213

  14. Freyert commented on Sep 30, 2021

    @Freyert

    @numaanashraf thanks for the transparency! I was a bit in the dark from the older issues on what was fixed last time. Thank you all for the quick turn around :)

  15. 18 remaining items

  16. unpinned this issue on Oct 4, 2021
  17. drissfoo commented on Oct 6, 2021

    @drissfoo

    Still have this issue for the last version v9.0.5 for macOS Big Sur 11.4
    Certificate is valid til 31 October. Seems like a random issue happening only to me and not my colleagues.
    Screenshot 2021-10-06 at 17 38 36
    "Screenshot 2021-10-06 at 17 40 50
    Screenshot 2021-10-06 at 17 42 46

  18. nhanledev commented on Oct 8, 2021

    @nhanledev

    Postman Desktop Agent v0.3.9 is also experiencing this issue

  19. zhuww0236 commented on Oct 9, 2021

    @zhuww0236

    The fix for this issue is available now on v9.0.5 version. If you are on Postman v9.0 and above, do 'Check for Updates' to get access to this version. Looking forward to hearing if the issue is resolved at your end.

    [EDIT] If you are on Postman v8, v8.12.4 is available as well with the fix.

    My electron application also shows' certificate has expired '. Can you share how to solve this problem? Thank you very much

  20. dan-j commented on Oct 12, 2021

    @dan-j

    I thought the same thing as @drissfoo with it not working for me but working for colleagues, but they still had "verify ssl certs" disabled.

    Screenshot 2021-10-12 at 13 52 38

  21. evpill commented on Oct 26, 2021

    @evpill

    I'm on Postman version 9.1.1 (Windows) and still having this issue. I had "verify ssl certs" disabled but enabled it because I'm getting similar errors when setting up webhooks from GitHub and OpenShift Container Platform and was wondering why I wasn't getting the error there. Looks like it is still a widespread issue, possibly all these services are pulling from the same source for their Trusted CAs. However, it looks like my web-browsers are the only apps that can verify certificates correctly at the moment... :( ... Fortunately (???), I can disable SSL verification with GitHub webhooks and in Postman but haven't figured out how to make OSCP less secure yet...

    It looks like I may have to adjust my expectations while waiting for everyone to adjust to CST (You thought DST was hard to adjust to, Covid Savings Time has everyone in a dream-like vacation daze). I would have thought that getting certificates to work properly would have been higher on peoples' priorities.

  22. davidaugustus-focusmate commented on Oct 28, 2021

    @davidaugustus-focusmate

    Seeing the same issue on Postman version 9.0.9 (MacOS, Chrome)

    Screen Shot 2021-10-28 at 1 46 41 PM

    Screen Shot 2021-10-28 at 1 47 02 PM

    Screen Shot 2021-10-28 at 1 47 27 PM

  23. bumblefudge commented on Oct 29, 2021

    @bumblefudge

    Same here,
    Windows 10 x64
    Postman Agent W64 v0.3.9
    image

  24. vivekmittal commented on Oct 30, 2021

    @vivekmittal

    +1

  25. superboyiii commented on Nov 1, 2021

    @superboyiii

    https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
    See here. It's a dependency issue. Please update your OS dependency to the latest, then make POST or GET to the server with DST Root CA X3

  26. johnathany505 commented on Nov 12, 2021

    @johnathany505

    Nothing ritenow

  27. AmiinaAhmed commented on Dec 9, 2021

    @AmiinaAhmed

    still have the same problem
    OS: Windows 10
    Postman v9.4.0 is the latest version.
    and it is needed to disable the SSL certificate to works (however I have a warning)

  28. KamilWitkowski7 commented on Feb 17, 2022

    @KamilWitkowski7

    This issue happens when one of the certs in pem files is outdated.
    In my case removing the outdated cert from the pem file made this issue disappear.

  29. AlejandroDaneri commented on Dec 2, 2022

    @AlejandroDaneri

    +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions