Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
User avatar
By ziadeh
I'm getting an error once I call : php -f sendnotificationscron.php

Processing workspace: workflow
* Resending Notifications.....................................[PROCESSING]
* |-- Send Apple Notifications................................PHP Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /opt/processmaker/workflow/engine/src/ProcessMaker/BusinessModel/Light/PushMessageIOS.php on line 132
PHP Warning: stream_socket_client(): Failed to enable crypto in /opt/processmaker/workflow/engine/src/ProcessMaker/BusinessModel/Light/PushMessageIOS.php on line 132
PHP Warning: stream_socket_client(): unable to connect to ssl:// (Unknown error) in /opt/processmaker/workflow/engine/src/ProcessMaker/BusinessModel/Light/PushMessageIOS.php on line 132
'-**ID_FAILED**: 0

Finished 1 workspaces processed

I have Processmaker 3.2-community
Manual Installation
Sorry that I didn't answer earlier. It took me a while to investigate this. The problem is that the certificate in PM 3.2.1 has an expiration date, but the certificate used in recent versions of PM doesn't have an expiration date.

Here is what I see on my server:
$ openssl x509 -checkend 86400 -noout -in /opt/pm3.2.1/workflow/engine/config/mobileios.pem
Certificate will expire
$ openssl x509 -checkend 86400 -noout -in /opt/pm3.3.4e/workflow/engine/config/mobileios.pem
Certificate will not expire

If you replace your workflow/engine/config/mobileios.pem file with the attached file from version 3.3.4, does it now work?
(4.43 KiB) Downloaded 100 times
By thcat2
I use PM 3.4, IOS push does not work. Checked the latest mobileios.pem using the same openssl command line: the SSL Cert already expired.
Why ProcessMaker Community is not renewing mobileios.pem for a very long time ?

Any ideas in this regard? Thanks

Can anyone help me please??????

rabbidwombat, I have created a better code examp[…]

Processmaker 3.6.1 OpenSource?

Generally, they share the latest release source co[…]