unit: More test coverage for TLS chain validation

Confirm that cert validation fails when the wrong root cert is supplied,
and to confirm behavior when no trusted root is supplied.
1 file changed