Giter VIP home page Giter VIP logo

Comments (7)

chvanikoff avatar chvanikoff commented on July 21, 2024

Hi @jeandavid
Please take a look at the same issue closed, I hope it will help: #8

from apns4ex.

jeandavid avatar jeandavid commented on July 21, 2024

Hey @chvanikoff,

Somehow it only works when I remove any password to the certificate. Any further idea?

from apns4ex.

chvanikoff avatar chvanikoff commented on July 21, 2024

@jeandavid did u check the SO post mentioned in the issue? It didn't work for you?

from apns4ex.

jeandavid avatar jeandavid commented on July 21, 2024

@chvanikoff yes. I generated my cert and key the same way as Ashish Chhabra does it in the SO article. I get the error above unless I do his third step (remove pass phrase) for the key.

from apns4ex.

chvanikoff avatar chvanikoff commented on July 21, 2024

@jeandavid that's weird. Ok I'll check it a bit later. I'm not using passphrase so can't reproduce the issue right now. Will ping u once done.

from apns4ex.

adrienmo avatar adrienmo commented on July 21, 2024

@jeandavid The problem is that you are using binary string instead of a character list, the erlang ssl library only accept character list

cert_password: 'hello'

instead of

cert_password: "hello"

from apns4ex.

zepplock avatar zepplock commented on July 21, 2024

Closing this issue, fixed in https://github.com/adrienmo/apns4ex/commit/4579f036acaaa19dcd5830837468d40eae2fa96e

from apns4ex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.