Throw exception if openssl extension is not found.