vRO 7 添加RestHost证书报错
报错类似的错误:
Cannot execute request: ; java.security.cert.CertificateException: Certificates does not conform to algorithm constraintsCertificates does not conform to algorithm constraints
或
Cannot execute request: DHPublicKey does not comply to algorithm constraints
Solution:
The java implementation on a vRA 7 appliance is no different, there are certain untrusted algorithms. Should you need to, you can enable them again.
- SSH to the vRA appliance using either the root account or an account capable of using sudo
- Navigate to the directory /usr/java/jre-vmware/lib/security
- Copy java.security to java.security.old (always take a backup!)
- Use vim to edit the java.security file
- Comment out the line jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
- Comment out the line jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768
- Save the file
- Restart the vRO service (service vco-server restart)