Skip to content

aerogear-attic/mockapns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mock APNs Server

Mock APNs / testing server supporting ssl connections.

Setup

Before you run the mock server you need to create a ssl certificate

openssl req -new -x509 -keyout private.pem -out cert.pem -nodes

Make apnsmock runnable by doing:

chmod u+x apnsmock

Usage

Be sure you have the required dependencies:

pip install gevent

Then start up the server passing a valid ssl certificate's absolute path:

./apnsmock --cert "/absolute/path/to/certificate" --key "/absolute/path/to/private_key"

Warning: please mind that mock-apns will start up even if the paths are wrong.

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%