You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2018/07/25 20:08:12 UTC

svn commit: r1836664 - in /jmeter/trunk: bin/jmeter.properties src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java xdocs/usermanual/component_reference.xml xdocs/usermanual/properties_reference.xml

Author: pmouawad
Date: Wed Jul 25 20:08:12 2018
New Revision: 1836664

URL: http://svn.apache.org/viewvc?rev=1836664&view=rev
Log:
Bug 62570 - HTTP(S) Test Script Recorder : Increase validity of Root CA used to capture traffic
Bugzilla Id: 62570

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
    jmeter/trunk/xdocs/usermanual/component_reference.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml

Modified: jmeter/trunk/bin/jmeter.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.properties?rev=1836664&r1=1836663&r2=1836664&view=diff
==============================================================================
--- jmeter/trunk/bin/jmeter.properties (original)
+++ jmeter/trunk/bin/jmeter.properties Wed Jul 25 20:08:12 2018
@@ -638,7 +638,7 @@ upgrade_properties=/bin/upgrade.properti
 # define this property if you wish to use your own keystore
 #proxy.cert.alias=<none>
 # The default validity for certificates created by JMeter
-#proxy.cert.validity=7
+#proxy.cert.validity=90
 # Use dynamic key generation (if supported by JMeter/JVM)
 # If false, will revert to using a single key with no certificate
 #proxy.cert.dynamic_keys=true

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java?rev=1836664&r1=1836663&r2=1836664&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java Wed Jul 25 20:08:12 2018
@@ -230,7 +230,7 @@ public class ProxyControl extends Generi
     // The alias to be used if dynamic host names are not possible
     static final String JMETER_SERVER_ALIAS = ":jmeter:"; // $NON-NLS-1$
 
-    public static final int CERT_VALIDITY = JMeterUtils.getPropDefault("proxy.cert.validity", 7); // $NON-NLS-1$
+    public static final int CERT_VALIDITY = JMeterUtils.getPropDefault("proxy.cert.validity", 90); // $NON-NLS-1$
 
     // If this is defined, it is assumed to be the alias of a user-supplied certificate; overrides dynamic mode
     static final String CERT_ALIAS = JMeterUtils.getProperty("proxy.cert.alias"); // $NON-NLS-1$

Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1836664&r1=1836663&r2=1836664&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/component_reference.xml Wed Jul 25 20:08:12 2018
@@ -6382,7 +6382,7 @@ the browser. Effectively JMeter has to p
 </p>
 <p>
 JMeter will generate its own certificate(s).
-These are generated with a validity period defined by the property <code>proxy.cert.validity</code>, default 7 days, and random passwords.
+These are generated with a validity period defined by the property <code>proxy.cert.validity</code>, default 90 days, and random passwords.
 If JMeter detects that it is running under Java 8 or later, it will generate certificates for each target server as necessary (dynamic mode)
 unless the following property is defined: <code>proxy.cert.dynamic_keys=false</code>.
 When using dynamic mode, the certificate will be for the correct host name, and will be signed by a JMeter-generated CA certificate.

Modified: jmeter/trunk/xdocs/usermanual/properties_reference.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/properties_reference.xml?rev=1836664&r1=1836663&r2=1836664&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/properties_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/properties_reference.xml Wed Jul 25 20:08:12 2018
@@ -833,7 +833,7 @@ JMETER-SERVER</source>
 </property>
 <property name="proxy.cert.validity">
     The default validity (in days) for certificates created by JMeter.<br/>
-    Defaults to: <code>7</code>
+    Defaults to: <code>90</code>
 </property>
 <property name="proxy.cert.dynamic_keys">
     Use dynamic key generation (if supported by JMeter/JVM).<br/>