Error starting proxy server in Apache JMeter

When I try to start the proxy in JMeter, I get the following error:

failed to create a proxy script - see the log for more information: Command: 'keytool -genkeypair alias: root_ca: -dname "CN = _DO NOT INSTALL if this is not your certificate (JMeter root CA), OU = Username: root, C = IE "-keyalg RSA -keystore proxyserver.jks -storepass {redacted -keypass {redacted) -validity 7 -ext bc: c 'failed, code: 1

Invalid option: -ext

Try keytool -help

My proxy configuration: enter image description here Any suggestions?

0
source share
1 answer

, " JDK" script (jmeter.bat) - java.exe

if .%JM_LAUNCH% == . set JM_LAUNCH=java.exe

.bat

Set JAVA_HOME= /path/to/JDK
Set PATH = %PATH%;%JAVA_HOME%/bin
if .%JM_LAUNCH% == . set JM_LAUNCH=java.exe

.sh,

export JAVA_HOME=/path/to/JDK
export PATH=$PATH:$JAVA_HOME/bin
java $JVM_ARGS -Dapple.laf.useScreenMenuBar=true -jar `dirname $0`/ApacheJMeter.jar "$@"
+2

Source: https://habr.com/ru/post/1527399/


All Articles