Skip to content
New issue

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

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

Already on GitHub? # to your account

extract_der is giving error with SSL #104

Open
besteman opened this issue Nov 19, 2020 · 2 comments
Open

extract_der is giving error with SSL #104

besteman opened this issue Nov 19, 2020 · 2 comments

Comments

@besteman
Copy link

Hello,

We are trying to pass in SSL cert and key, but we are going an error on line 77 here:

(MatchError) no match of right hand side value: nil
    (kaffe) lib/kaffe/config.ex:78: Kaffe.Config.extract_der/1

When I try to use the function decode_pem it always returns nil

image

@objectuser
Copy link
Contributor

@besteman Interesting, I've not seen a problem in that area before. Are you sure the certificate is valid? Wonder if you could generate a new one just as a test and see if there's the same problem.

We use this in a ton of places, so it works in at least some circumstances.

@besteman
Copy link
Author

I have generated a dummy Pem file and tried again and I get nil.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants