Remove redundant code

Remove redundant code, since the util catches null values for cert/passphrase