Guide · Connections
Connecting a system behind a proxy
Your app reaches a system that is not on the public internet, such as an on-premise SAP system, through the connector gateway on its node. A connection can go through your company proxy, use any HTTPS port and trust certificates from your own CA. Your app sees no difference: it calls the connection's base URL as usual.
When you need it
The system is only reachable through a proxy your company runs.
It listens on another port than 443, such as SAP Commerce on 9002 or SAP ICM on 44300.
Its certificate comes from your company's own CA instead of a public one.
What your node can reach
The gateway connects from the node your app runs on, so where that node runs decides what it may reach.
In your own cloud account, the node may reach private addresses in your network, directly or through a proxy on a private address.
On a node Syntica hosts, private addresses are refused, because they belong to Syntica's network. Use a proxy on a public address that reaches into your network.
The system itself always speaks HTTPS, also through a proxy, so the data and its credential stay encrypted all the way to it. Plain HTTP to the system is not supported. A system that only speaks HTTP needs an HTTPS port in front of it first, such as SAP Web Dispatcher.
Any port works except the ones for remote shells, file sharing, remote desktop and mail (22, 23, 25, 135, 139, 445 and 3389) and the gateway's own ports.
Set it up on a connection
1
Under Connections, add the connection and enter the system's URL with its port, such as https://sap.example.internal:44300/sap/opu/odata/sap/API_SALES_ORDER_SRV.
2
Open Network and enter the proxy URL with its port, such as http://proxy.example.com:3128 or https://proxy.example.com:8443. Leave it empty to connect straight to the system.
3
If the proxy asks for a login, enter the proxy user and password. They are stored in the connection's secret, like every other credential. If the connection uses your own secret, add <PREFIX>_PROXY_USER and <PREFIX>_PROXY_PASSWORD to it, then tick that it holds them under Edit network. An http proxy with a user and password is refused unless it sits on a private address in your own cloud account. Use an https proxy instead.
4
Paste the certificates of your company CA, as PEM, up to 10. They are trusted on top of the public ones, for the system and for an https proxy.
5
Grant the connection to your app in gateway mode. To change these settings later, use Edit network on the connection.
Testing the connection
Syntica cannot reach these systems from its own network. A connection with a proxy, your own CA or another port than 443 is tested from a node that has it granted, along the same route a real call takes. If no node runs it yet, the test runs after the first deploy and the result shows on the connection.
When the test fails, the message says which part failed: the proxy, the proxy login, the way from the proxy to the system, or the system's certificate. A certificate that is not trusted usually means the company CA is missing.
Direct mode
These settings apply in gateway mode. In direct mode your app connects to the system itself and does not use them yet.
Example: SAP Commerce (Hybris)
SAP Commerce has no connector in the catalogue, so you add it as a custom integration.
1
Under Connections, add a custom integration. Enter its host, such as commerce.example.com, its OCC base URL on its own port, such as https://commerce.example.com:9002/occ/v2, and the variable prefix COMMERCE. A host ending in .internal or .local cannot be used for a custom integration.
2
Pick the basic credential and enter an integration user. It is stored in the connection's secret, never in your code, and travels over HTTPS to SAP Commerce.
3
Under Network, add your proxy and the CA that signed the SAP Commerce certificate.
4
Grant it to your app in gateway mode. Your app calls the base URL variable it receives, COMMERCE_URL.
The OCC API often signs in with OAuth client credentials. Those do not run through the gateway yet. Until they do, use an integration user with basic auth.