Because careless or malicious services could potentially annoy UP.Link subscribers with notifications, the UP.Link server provides the following controls on notifications:
The server certificate required to send notifications to the secure port is a special type of certificate, which can only be used for issuing notifications from a specific domain to an UP.Link server. It ensures that malicious services cannot misrepresent themselves and send spurious notifications.
For more background information on how certificates are used in the UP.Link platform, see Chapter 6, Creating Secure HDML Services.
The UP.SDK notification APIs allow you to issue either secure or non-secure notifications. When you issue a secure notification, the default mode is "secure-preferred." In secure-preferred mode, UP.SDK APIs first attempt to connect to the UP.Link server's secure port; if the secure port is not available, they attempt to connect to the non-secure port.
The following table lists notification modes and the types of connections the APIs will establish with different UP.Link server ports enabled:
Secure-preferred mode is most likely to work on any UP.Link server; Unwired Planet recommends using it to achieve the greatest possible coverage. You should not use it for services that require security. The following table summarizes the recommended uses for each notification mode:
| Notification mode | Use |
|---|---|
Applications for which it is important to work on every UP.Link server, regardless of security (most applications) | |
In general, you should not worry about notification port numbers, because the UP.SDK APIs issue notifications to the appropriate ports by default.
The following ports are the default notification ports for UP.Link servers:
| Port | Description |
|---|---|
|
4445
| Internet Assigned Number Authority (IANA) assigned port for non-secure notifications |
|
3356
|