[PATCH 9/9] tools: support validating user/custom PKI certs