jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject KeyToolUtils changes for Bug 55507
Date Wed, 04 Sep 2013 01:13:25 GMT
The code added in:

Proxy SSL recording does not handle external embedded resources well
Part 1: Add methods to create the necessary certificate and keystore

is sufficient to create the keystore and external certificate.

For example:

        KeyToolUtils.generateProxyCA(new File("server.jks"),"password", 1);
File("server.jks"),"password", "", 1);

However the keystore is not usable with the current Proxy code as the
keystore contains multiple keys, and the existing code assumes there
is only one.

Fixing that is next on my list (I have test code that works).

I decided to use a single keystore for all the certificates.
The domain keys only work with a specific CA cert, so it makes sense
to keep them together. The keystore is recreated when a new CA cert is
This automatically drops all the invalidated domain keys.

The code currently uses a fixed name for the CA certificate.
But perhaps it would be better to use the same name as the keystore?
That would show that they are related, and would be a bit more flexible.

View raw message