resolves issue with OpenSSL private keys #31

This is a possible fix to Issue #31. There is probably a cleaner solution but this seems to be working for me