libp2p / js-libp2p

The JavaScript Implementation of libp2p networking stack.
https://libp2p.io
Other
2.27k stars 435 forks source link

fix: reduce TLS cert validity time #2457

Closed achingbrain closed 4 months ago

achingbrain commented 4 months ago

@peculiar/x509 cannot represent dates as far in advance as go-libp2p so the certs are rejected.

Reduce the maximum validity of certificates to keep them under 2050 - this can be re-evaluated after https://github.com/PeculiarVentures/x509/issues/73 is fixed.

Change checklist