|
RUE Automatic Configuration |
|
|
|
┌─┐ |
|
║"│ |
|
└┬┘ |
|
┌┼┐ |
|
│ ┌───┐ ┌───┐ ┌────────────┐ ┌────────────────────────┐ ┌───┐ |
|
┌┴┐ │RUE│ │DNS│ │HTTPS Server│ │Provider Global Settings│ │CRM│ |
|
RUE User └─┬─┘ └─┬─┘ └─────┬──────┘ └───────────┬────────────┘ └─┬─┘ |
|
[1] Select a VRS Provider name │ │ │ |
|
│ ───────>│ │ │ │ │ |
|
│ │ │ │ │ │ |
|
[2] Look up SRV DNS for _rueconfig._tcp.providerdomain.com │ |
|
│ │──────>│ │ │ │ |
|
│ │ │ │ │ │ |
|
[3] SRV DNS response with server.providerdomain.com:443 │ │ |
|
│ │<──────│ │ │ │ |
|
│ │ │ │ │ │ |
|
[4] If SRV record found, look up DNS for server.providerdomain.com │ |
|
│ │──────>│ │ │ │ |
|
│ │ │ │ │ │ |
|
[5] If SRV record does not exist, look up DNS for config.providerdomain.com |
|
│ │ ─ ─ ─>│ │ │ │ |
|
│ │ │ │ │ │ |
|
[6] IP Address of Config Server │ │ |
|
│ │<──────│ │ │ │ |
|
│ │ │ │ │ │ |
|
[7] TCP connection to 443: TLS: ClientHello (RFC-5246) │ │ |
|
│ │─────────────────>│ │ │ |
|
│ │ │ │ │ │ |
|
│ [8] TLS: ServerHello │ │ |
|
│ │<─────────────────│ │ │ |
|
│ │ │ │ │ │ |
|
│ [9] TLS: ServerCertificate │ │ |
|
│ │<─────────────────│ │ │ |
|
│ │ │ │ │ │ |
|
[10] TLS: ServerKeyExchange if required for premaster secret handshake │ |
|
│ │<─ ─ ─ ─ ─ ─ ─ ─ ─│ │ │ |
|
│ │ │ │ │ │ |
|
│ [11] TLS: ServerHelloDone │ │ |
|
│ │<─────────────────│ │ │ |
|
│ │ │ │ │ │ |
|
[12] HTTP: GET https://config.providerdomain.com/v1 │ │ |
|
│ │─────────────────>│ │ │ |
|
│ │ │ │ │ │ |
|
[13] HTTP: 401 Unauthorized WWW-Authenticate Digest │ │ |
|
username="X" realm="Y" qop="auth,auth-int" nonce=... │ │ |
|
│ │<─────────────────│ │ │ |
|
│ │ │ │ │ │ |
|
[14] HTTP: https://config.providerdomain.com/v1 Authorization Digest │ |
|
username="X" realm="Y" qop="auth" nonce=... │ │ |
|
│ │─────────────────>│ │ │ |
|
│ │ │ │ │ │ |
|
│ │ │ │ [15] Find subscriber information │ |
|
│ │ │ │ for username="X" │ │ |
|
│ │ │ │ ─────────────────────────────────────>│ |
|
│ │ │ │ │ │ |
|
│ │ │ │ [16] Subscriber specific │ |
|
│ │ │ │ configuration information │ |
|
│ │ │ │ <─────────────────────────────────────│ |
|
│ │ │ │ │ │ |
|
│ │ │ [17] Retrieve provider specific settings │ |
|
│ │ │ │ ────────────────────> │ |
|
│ │ │ │ │ │ |
|
│ │ [18] Provider specific configuration information │ |
|
│ │ │ │ <──────────────────── │ |
|
│ │ │ │ │ │ |
|
[19] 200 OK + JSON key/value hash merge of subscriber specific and │ |
|
provider specific configurations │ │ │ |
|
│ │<─────────────────│ │ │ |
|
RUE User ┌─┴─┐ ┌─┴─┐ ┌─────┴──────┐ ┌───────────┴────────────┐ ┌─┴─┐ |
|
┌─┐ │RUE│ │DNS│ │HTTPS Server│ │Provider Global Settings│ │CRM│ |
|
║"│ └───┘ └───┘ └────────────┘ └────────────────────────┘ └───┘ |
|
└┬┘ |
|
┌┼┐ |
|
│ |
|
┌┴┐ |