Reuse Certificate for Webtransport to Produce Constant Certhashes #3270
-
I was wanting to implement a way to use a saved certificate for my webtransport transport, so that I could have a constant multiaddr. Looking over the repo: https://github.com/libp2p/go-libp2p/tree/master/p2p/transport/webtransport I see values related to "validity" and "time". This seems to imply to me that webtransport self signed certs expire by default. Is there way a to pass a saved cert from the file system to the webtransport.New() function and achieve a constant multiaddr? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
take a look at https://github.com/ipshipyard/p2p-forge |
Beta Was this translation helpful? Give feedback.
-
Unfortunately WebTransport certhashes are only valid for at most 2 weeks per w3c spec: https://www.w3.org/TR/webtransport/#custom-certificate-requirements |
Beta Was this translation helpful? Give feedback.
Unfortunately WebTransport certhashes are only valid for at most 2 weeks per w3c spec: https://www.w3.org/TR/webtransport/#custom-certificate-requirements