Skip to content

Add support for --cert #39

@brian3t

Description

@brian3t

With Apple Push Notification Service now requiring cert and private key, please consider adding support for -cert and --key and --key-type
Sample curl for APNS:

curl -v --header "apns-topic:appname.com.asdf" --header "apns-push-type: alert" --cert "apns.pem" --key "apnskey.pem" --key-type PEM --data '{"aps":{"alert":"test APNS"}}' --http2 https://api.push.apple.com/3/device/d757574cb975099e682c33084be41583aeb661d3293c3030a1c68572a39b0000

Yours is a useful project.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions