Don't use nonportable environment variables directly

Fixes #50
Refactor getting the cert
Use OpenSSL library instead of the non-portable cmdline
Merge pull request #51 from conjurinc/platform-independency

Don't use nonportable environment variables directly