If running under Java 7, the Test Recorder always tries to create a
certificate file when starting the Proxy. That was possibly a mistake,
but the intention was to ensure that the certificate was available
before recording started.

The consequence is that the cert is created even if the user is not
recording HTTPS. This can cause problems if the Java installation does
not include keytool, or if the bin directory is not writable. Also it
slows down the start.

So maybe there should be an option on the Recorder screen which
specifies whether or not the user wants to record HTTPS?

For example, I did wonder if the new HTTPS domain field should be used
for that purpose (i.e. check if it is non-empty). Or do we need a
separate checkbox?

It does look as though the code should check to see if keytool is
available, and revert to the original behaviour if not. Also maybe
check if the target directory is writable.

Reply via email to