} catch (CertPathBuilderException e) {
RockFrameworkLogger.getLogger().info(e.getMessage(), e);
RockFrameworkLogger.getLogger().info("Validation error: " + e.getMessage());
return new ValidationError[] { new ValidationError(PKIXCertificateValidator.VALIDATOR_NAME, "Invalid certificate infrastructure") };
} catch (Exception e) {
throw new CertificateException(e);
}
}