Using Cert Validation util

Creating little validation helper to check if cert/passphrase are valid, by using the new AG-SEC util

Done for [AGPUSH-179](https://issues.jboss.org/browse/AGPUSH-179)