I'm using yii apns-gcm with below settings in console.php config to run as a background process.
My issue is it prompt for PEM pass phrase: And when I enter the pass phrase it works.
Does anyone know how to set passphrase for this?
Note:
Yii::app()->attachEventHandler('onEndRequest', array($this, 'onApplicationEndRequest'));
My settings in config
'apns' => array(
'class' => 'ext.apns-gcm.YiiApns',
'environment' => 'sandbox',
'pemFile' => 'runtime/apnssert/ck.pem',
'dryRun' => false,
'options' => array(
'sendRetryTimes' => 5
),
),