MOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE for intercepted requests - certificate not before date is too close to real time #1438
Labels
Awaiting Response
Waiting for more information / response from issue creator
Bug
Bug report in proxy server
Describe the bug
the on the fly https interception certificate "not before" date seems too close too real time and just a little delay in the client time of 2s triggers a "MOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE" in firefox
To Reproduce
start proxy.py in interception mode and set the client time some minutes behind real time and make an https request with tls-interception to a domain you never requested before
Expected behavior
the on-the-fly https interception certificates should have a significant time buffer and not be too close to real time (if needed maybe configurable via cmd argument)
I see no reason why the "not before" date would not be at least one day in the past by default.
Version information
The text was updated successfully, but these errors were encountered: