【发布时间】:2017-07-31 18:25:09
【问题描述】:
我在尝试使用 Jmeter 加载客户端证书时遇到问题。我相信我关注了this tutorial,但在运行测试时遇到了错误。
据我所知,我的密钥库文件似乎设置正确。如果我运行keytool -list -v -keystore <mykeystore>,我会得到:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: client
Creation date: Jul 31, 2017
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
<certificate body>
当我运行测试时,一切似乎从一开始就运行良好
Total of 1 aliases loaded OK from keystore
但是,在结果输出中我看到了错误消息:
java.lang.IllegalArgumentException: No certificate found for alias:'client'
什么可能导致 Jmeter 无法读取证书?
【问题讨论】:
标签: jmeter ssl-certificate keystore client-certificates