Configure Communication Properties for the MGM heading-link-icon

To configure the MGM Membership Group Manager. May also be referred to as the Network Manager. It is a virtual node and Corda identity that acts as a central registrar for group membership. virtual node as a network participant with the properties required for peer-to-peer messaging, run the following command, setting these properties:

  • p2pTlsCertificateChainAlias — the alias used when importing the TLS Transport Layer Security. A protocol that establishes an encrypted session between two computers on the Internet. certificate.
  • p2pTlsTenantId — the tenant ID under which the TLS cert was stored (“p2p” for cluster level).
  • sessionKeysAndCertificates — contains a list of objects as you can specify multiple session initiation keys The key for a virtual node, which is published in the `MemberInfo`, and used by Link Managers to authenticate and establish secure messaging sessions between network members. and certificates. Each object contains the fields sessionKeyId, sessionCertificateChainAlias and preferred. One object in the list must have the preferred Boolean field set to true. The list cannot be empty.
  • useClusterLevelTlsCertificateAndKey - true if the TLS certificate and key are cluster-level certificates and keys.
curl -k -u $REST_API_USER:$REST_API_PASSWORD -X PUT -d '{"p2pTlsCertificateChainAlias": "p2p-tls-cert", "useClusterLevelTlsCertificateAndKey": true, "sessionKeysAndCertificates": [{"sessionKeyId": "'$SESSION_KEY_ID'", "preferred": true}]}' $REST_API_URL/network/setup/$MGM_HOLDING_ID
Invoke-RestMethod -SkipCertificateCheck  -Headers @{Authorization=("Basic {0}" -f $AUTH_INFO)} -Uri "$REST_API_URL/network/setup/$MGM_HOLDING_ID" -Method Put -Body (ConvertTo-Json @{
    p2pTlsCertificateChainAlias = "p2p-tls-cert"
    useClusterLevelTlsCertificateAndKey = $true
    sessionKeysAndCertificates" = [{"sessionKeyId": "'$SESSION_KEY_ID'", "preferred": true}]}
})

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.