Windows

No specific prerequisites are required for using push notifications on Windows.

IBM i

Mandatory PTFs

To use HTTP methods for push notifications on IBM i, you need to apply a mandatory PTF.

O/SPTF
V7R5M0SI81847
V7R4M0SI81848
V7R3M0SI81849

Configure Required Permissions for the Certificate Store

The user profile associated with the LANSA listener e.g. DC@PGMLIB must have READ access to the certificate store file you will be using when making HTTP requests.

Note:

  • The user profile must also have READ and EXECUTE access to all directories in the file path.
  • The default system certificate store is located at:
    /QIBM/USERDATA/ICSS/CERT/SERVER/DEFAULT.KDB

Trusted Certificate Authority (CA) Certificates List

Make sure the list of trusted CAs is up-to-date. If required CA certificates are missing, your system may fail to make secure HTTP requests.

Web Application

To subscribe a user to receive push notifications:

  • The webpage must be using a service worker.
  • The website must be running on HTTPS. 

 Keys

To subscribe a user and send a push notifications, you need:

  • A valid EC prime256v1 Private Key in PEM format.
  • The same certificate must be used to generate the Vapid public key for subscribing a user and passed into the push SendPush method.

Limitations

There are some limitations regarding notification properties in certain browsers. For example, Firefox does not support the PushMessageImageUrl property. If you include an image URL in the notification, Firefox will ignore it, and no image will be displayed.

To view which properties are available on a given browser see here.

  • No labels