Test if we can get an private key object, to prefent the following errors:
> Warning: openssl_sign() [function.openssl-sign]: supplied key param cannot be coerced into a private key
Setup global var for errors.