我目前正在用java/eclipse/testng为webservice创建自动化套件。。我得到了一个wsdl文件并创建了webservice客户机来测试所有webservice调用。它需要ssl证书
我已经在javacacerts中添加了证书,在运行时我得到了以下错误。
CertificateRequest.java:672|Consuming CertificateRequest handshake message (
"CertificateRequest": {
"certificate types": [rsa_sign, ecdsa_sign]
"supported signature algorithms": [rsa_pkcs1_sha512, ecdsa_secp521r1_sha512, rsa_pkcs1_sha384, ecdsa_secp384r1_sha384, rsa_pkcs1_sha256, ecdsa_secp256r1_sha256, rsa_sha224, ecdsa_sha224, rsa_pkcs1_sha1, ecdsa_sha1]
........
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.241 IST|X509Authentication.java:213|No X.509 cert selected for RSA
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.241 IST|CertificateRequest.java:765|Unavailable authentication scheme: rsa_pkcs1_sha512
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.241 IST|X509Authentication.java:213|No X.509 cert selected for EC
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.241 IST|CertificateRequest.java:765|Unavailable authentication scheme: ecdsa_secp521r1_sha512
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.241 IST|X509Authentication.java:213|No X.509 cert selected for RSA
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.241 IST|CertificateRequest.java:765|Unavailable authentication scheme: rsa_pkcs1_sha384
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.241 IST|X509Authentication.java:213|No X.509 cert selected for EC
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.241 IST|CertificateRequest.java:765|Unavailable authentication scheme: ecdsa_secp384r1_sha384
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.241 IST|X509Authentication.java:213|No X.509 cert selected for RSA
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.241 IST|CertificateRequest.java:765|Unavailable authentication scheme: rsa_pkcs1_sha256
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.241 IST|X509Authentication.java:213|No X.509 cert selected for EC
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.241 IST|CertificateRequest.java:765|Unavailable authentication scheme: ecdsa_secp256r1_sha256
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.241 IST|X509Authentication.java:213|No X.509 cert selected for RSA
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.241 IST|CertificateRequest.java:765|Unavailable authentication scheme: rsa_sha224
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.241 IST|X509Authentication.java:213|No X.509 cert selected for EC
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.242 IST|CertificateRequest.java:765|Unavailable authentication scheme: ecdsa_sha224
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.242 IST|X509Authentication.java:213|No X.509 cert selected for RSA
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.242 IST|CertificateRequest.java:765|Unavailable authentication scheme: rsa_pkcs1_sha1
javax.net.ssl|ALL|01|main|2021-01-05 18:29:46.242 IST|X509Authentication.java:213|No X.509 cert selected for EC
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.242 IST|CertificateRequest.java:765|Unavailable authentication scheme: ecdsa_sha1
javax.net.ssl|WARNING|01|main|2021-01-05 18:29:46.242 IST|CertificateRequest.java:775|No available authentication scheme
javax.net.ssl|FINE|01|main|2021-01-05 18:29:46.242 IST|ServerHelloDone.java:151|Consuming ServerHelloDone handshake message (
<empty>
)
javax.net.ssl|FINE|01|main|2021-01-05 18:29:46.242 IST|CertificateMessage.java:291|No X.509 certificate for client authentication, use empty Certificate message instead
javax.net.ssl|FINE|01|main|2021-01-05 18:29:46.242 IST|CertificateMessage.java:322|Produced client Certificate handshake message (
"Certificates": <empty list>
)
这是否意味着客户端不支持服务器生成的密码套件?
我试图从lib/security/java.security中删除rc4。
jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, \
EC keySize < 224, 3DES_EDE_CBC, anon, NULL
但仍然没有可用的身份验证方案,只有错误。。我们是否可以设置它的属性级别来启用密码套件?
暂无答案!
目前还没有任何答案,快来回答吧!