kaffe
kaffe copied to clipboard
extract_der is giving error with SSL
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

@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.
I have generated a dummy Pem file and tried again and I get nil.