NTB
NTB

Reputation: 89

How to test a man in the middle HTTPS proxy?

We are looking for guidelines for testing a new product that works as a "man in the middle" proxy, and intercept HTTPS traffic.

This system needs to act as a standard browsers and block any attempt to access a site with invalid certificate.

We thought about testing the following scenarios:

My questions are:

  1. What other certificates scenario should we test?
  2. Which tools should we use to generate those "invalid" certificates?
  3. Do you know of any open source project (maybe a browser or proxy) that has a set of unit tests that we can learn from?

Thanks.

Upvotes: 1

Views: 4194

Answers (1)

The procedure of certificate validation is completely described in the corresponding RFCs (3280, 2560 etc.) and you don't need to invent any "scenarios".

For generation of certificates including invalid ones you can use our SecureBlackbox components (trial mode will be enough).

Upvotes: 3

Related Questions