How it works
Every organisation has a Security Server on its own side. An information system talks only to its own Security Server; the two Security Servers handle the rest between themselves.
+----------------------+
| Central Server |
| cs.xroad.mn |
+----------------------+
: :
+- Organisation A --------------+ +- Organisation B --------------+
| | | |
| +------------+ +----------+ | | +----------+ +------------+ |
| | Information|---| Security |============| Security |---| Service, | |
| | system | | Server | |TCP 5500| | Server | | data | |
| +------------+ +----------+ | | +----------+ +------------+ |
+-------------------------------+ +-------------------------------+
: :
+--------------------------+
| Trust services |
| CA, OCSP, time-stamping |
+--------------------------+The path of one request
When a system of Organisation A calls a service of Organisation B:
- A's system sends the request to its own Security Server. The request states who is asking and whose service is wanted.
- A's Security Server signs it. It signs the message with the organisation's certificate and obtains a time stamp.
- It is sent directly over the internet. The address of B's Security Server is found in the global configuration, and the connection is mutually authenticated and encrypted.
- B's Security Server verifies it. It checks that the sender's certificate is valid and that the sender may call this service, and it logs the message.
- B's service answers. The response is signed too and returns the same way.
Four security principles
| Principle | Meaning |
|---|---|
| Identity is certain | Every member and every server has a certificate. Nobody joins without one. |
| The channel is encrypted | Security Servers authenticate each other and encrypt the traffic. |
| Exchanges can be proven | Every message is stored with a digital signature and a time stamp. It is evidence in a dispute. |
| The owner grants access | The providing organisation decides who may call its service. |
What the Central Server does and does not do
It does: keep the registry of members and Security Servers, distribute the list of trusted certification and time-stamping services, and receive registration requests.
It does not: see, relay or store the messages exchanged between members.
If the Central Server is down for a while
Security Servers keep working for some time with the configuration they last downloaded. Exchange stops once that configuration expires.