SSL configuration
As we mentioned at the beginning of this chapter, when we describe bearer tokens, when you use this kind of authentication in a production environment, you have to use encrypted connections. In this section, we will describe how WildFly Swarm and OpenShift support the use of secure connections.
We will separate this section into two different cases, depending on whether we consider our cloud environment to be secured or not.
Secured cloud
In a scenario where the cloud environment that you are using is secure, you will need to configure an encrypted connection between external clients and routers:

In such a case, we have to configure an Edge
router. An Edge
router has its own certificate and is able to establish secure connections with external clients. Before proxying traffic to the destination, the router encrypts the connection. As a result, in the OpenShift cluster, communication happens through unsecured connections.
You are able to configure edge routing for each route...