jmeter-在进行分布式测试时出现“密钥库被篡改或密码不正确"的错误 [英] jmeter - Got 'Keystore was tampered with, or password was incorrect' error doing distributed tests

查看:628
本文介绍了jmeter-在进行分布式测试时出现“密钥库被篡改或密码不正确"的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索了所有与recover key错误有关的问题,但我的情况没有得到答案. 因此,我只有几个简单的操作:

Searched all the questions related to recover keyerror, got no answer on my situation. So, I just have several simple operations:

  1. 安装jmeter 4.0(在centos 7上)
  2. cd到bin目录,运行./create-rmi-keystore.sh并在每个步骤中按Enter(在最后一步中输入密码123654),最后它给了我
  1. install jmeter 4.0 (on centos 7)
  2. cd to the bin directory, run ./create-rmi-keystore.sh and pressed Enter in each steps(entered a password 123654 at final step), and finally it gives me

警告: JKS密钥库使用专有格式.建议使用"keytool -importkeystore -srckeystore rmi_keystore.jks -destkeystore rmi_keystore.jks -deststoretype pkcs12"迁移到行业标准格式PKCS12. 将生成的rmi_keystore.jks复制到jmeter/bin文件夹或在属性"server.rmi.ssl.keystore.file"中引用

Warning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore rmi_keystore.jks -destkeystore rmi_keystore.jks -deststoretype pkcs12". Copy the generated rmi_keystore.jks to jmeter/bin folder or reference it in property 'server.rmi.ssl.keystore.file'

  • 所以我运行keytool -importkeystore -srckeystore rmi_keystore.jks -destkeystore rmi_keystore.jks -deststoretype pkcs12并输入密码123654
  • 它给了我
  • so I run keytool -importkeystore -srckeystore rmi_keystore.jks -destkeystore rmi_keystore.jks -deststoretype pkcs12 and give a password 123654
  • It gives me:
  • 输入源密钥库密码:
    keytool错误:java.io.IOException:密钥库被篡改,或者密码不正确

    Enter source keystore password:
    keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect

    任何人都可以伸出援手,谢谢!:

    Can anybody give a hand, Thanks advance:)

    推荐答案

    solved by this , to answer the question What is your first and last name?, you'll have to reply with rmi which must be a corresponding value with server.rmi.ssl.keystore.alias in jmeter.propertise.

    这篇关于jmeter-在进行分布式测试时出现“密钥库被篡改或密码不正确"的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    相关文章
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆