Skip to content

MOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE for intercepted requests - certificate not before date is too close to real time  #1438

Open
@JJ-Author

Description

@JJ-Author

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

  • OS: [ubuntu 20.04]
  • Browser [firefox]
  • Device: [amd64]
  • proxy.py Version [2.4.4]

Metadata

Metadata

Assignees

Labels

Awaiting ResponseWaiting for more information / response from issue creatorBugBug report in proxy server

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions