Fixed typo

This commit is contained in:
David Coomber 2024-06-21 16:30:43 +02:00 committed by Vladimir Sitnikov
parent 289b3d189c
commit 339c793250
2 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ public class KeyToolUtils {
/** Name of property that can be used to override the default keytool location */ /** Name of property that can be used to override the default keytool location */
private static final String KEYTOOL_DIRECTORY = "keytool.directory"; // $NON-NLS-1$ private static final String KEYTOOL_DIRECTORY = "keytool.directory"; // $NON-NLS-1$
private static final String DNAME_INTERMEDIATE_CA_KEY = "cn=JMeter Intermediate CA for recording (INSTALL ONLY IF IT S YOURS)"; // $NON-NLS-1$ private static final String DNAME_INTERMEDIATE_CA_KEY = "cn=JMeter Intermediate CA for recording (INSTALL ONLY IF ITS YOURS)"; // $NON-NLS-1$
public static final String ROOT_CACERT_CRT_PFX = "ApacheJMeterTemporaryRootCA"; // $NON-NLS-1$ (do not change) public static final String ROOT_CACERT_CRT_PFX = "ApacheJMeterTemporaryRootCA"; // $NON-NLS-1$ (do not change)
private static final String ROOT_CACERT_CRT = ROOT_CACERT_CRT_PFX + ".crt"; // $NON-NLS-1$ (Firefox and Windows) private static final String ROOT_CACERT_CRT = ROOT_CACERT_CRT_PFX + ".crt"; // $NON-NLS-1$ (Firefox and Windows)
@ -73,7 +73,7 @@ public class KeyToolUtils {
static { static {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append("CN=_ JMeter Root CA for recording (INSTALL ONLY IF IT S YOURS)"); // $NON-NLS-1$ sb.append("CN=_ JMeter Root CA for recording (INSTALL ONLY IF ITS YOURS)"); // $NON-NLS-1$
String userName = System.getProperty("user.name"); // $NON-NLS-1$ String userName = System.getProperty("user.name"); // $NON-NLS-1$
userName = userName.replace('\\','/'); // Backslash is special (Bugzilla 56178) userName = userName.replace('\\','/'); // Backslash is special (Bugzilla 56178)
addElement(sb, "OU=Username: ", userName); // $NON-NLS-1$ addElement(sb, "OU=Username: ", userName); // $NON-NLS-1$

View File

@ -6832,9 +6832,9 @@ As a consequence:
<li>The browser should display a dialogue asking if you want to accept the certificate or not. For example: <li>The browser should display a dialogue asking if you want to accept the certificate or not. For example:
<source> <source>
1) The server's name "<code>www.example.com</code>" does not match the certificate's name 1) The server's name "<code>www.example.com</code>" does not match the certificate's name
"<code>_ JMeter Root CA for recording (INSTALL ONLY IF IT S YOURS)</code>". Somebody may be trying to eavesdrop on you. "<code>_ JMeter Root CA for recording (INSTALL ONLY IF ITS YOURS)</code>". Somebody may be trying to eavesdrop on you.
2) The certificate for "<code>_ JMeter Root CA for recording (INSTALL ONLY IF IT S YOURS)</code>" is signed by the unknown Certificate Authority 2) The certificate for "<code>_ JMeter Root CA for recording (INSTALL ONLY IF ITS YOURS)</code>" is signed by the unknown Certificate Authority
"<code>_ JMeter Root CA for recording (INSTALL ONLY IF IT S YOURS)</code>". It is not possible to verify that this is a valid certificate. "<code>_ JMeter Root CA for recording (INSTALL ONLY IF ITS YOURS)</code>". It is not possible to verify that this is a valid certificate.
</source> </source>
You will need to accept the certificate in order to allow the JMeter Proxy to intercept the SSL traffic in order to You will need to accept the certificate in order to allow the JMeter Proxy to intercept the SSL traffic in order to
record it. record it.