Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions not working with strings. #67

DigitalLeaves opened this issue Mar 14, 2018 · 1 comment


None yet
1 participant
Copy link

commented Mar 14, 2018

If I try to use a pure string instead of a path, I get a "Error: File doesn't exist.".
According to documentation:

cert may be a filename or a raw base64 encoded PEM string in any of these methods.

So, what am I doing wrong? It works with paths/filenames, but not PEM encoded strings.


This comment has been minimized.

Copy link

commented Mar 14, 2018

Actually, it's working, but the error is misleading. I got a "File doesn't exist" when I was passing a PEM string wrongly codified (it needs to have the \n newline characters). Maybe the error message can be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.