1 Export the certificate via browser
2 Use keytool to generate the keystore
keytool -import -alias "alipay" -file der-alipaycom.der -keystore test.store Enter
a custom password such as 123456
3 Use keytool -list -v -keystore test.store to check [check can also be ignored]
4 Write the code, or configure it into the configuration file.
Add beanShell PreProcessor in http sample
import org.apache.jmeter.util.SSLManager;
System.setProperty("javax.net.ssl.keyStore", "E:\\CDO\\Jmeter\\test.store");
System.setProperty("javax.net.ssl.keyStorePassword", "123456");
SSLManager.reset();
SSLManager.getInstance();