The CertPath that's verified should not be allowed to be empty

Description

The certificate chain that's passed in SparkTrustManager to be validated is not validated completely. The root certificate from the chain is properly validated, but the code that intends to turn the certificate chain array into a CertPath element results in an empty CertPath (which then is validated, which yields no validation errors).

Environment

None
Fixed

Priority

Blocker

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen