On this page
To enable a secure connection between the client and the server, you need to generate two keystore files, each in their own keystores:
To generate a key pair
Enter keytool -genkey -alias MyDomain -keyalg RSA -keystore KeyStore.jks -keysize 2048 and press Enter.
You can give any name to MyDomain and KeyStore.jks. |
Enter a password for your keystore and answer the questions asked. A certificate with a key is generated and placed into the keystore.
To extract a certificate without a key, type keytool -export -alias MyDomain -file certificate.cer -keystore KeyStore.jks and press Enter.
To place a certificate into another keystore, e.g. cert.jks, type keytool -import -alias MyDomain -file certificate.cer -keystore cert.jks and press Enter.
You can give any name to cert.jks. However, by default, the tool searches for this exact name. |
Two keystore files are generated: one for the server (KeyStore.jks) and one for the client (cert.jks). You can now proceed to enable a secure connection between the client (modeling tool) and the server (Magic Collaboration Studio).
To enable a secure connection to Magic Collaboration Studio, you must enable TLS (Transport Layer Security) on the Teamwork Cloud Admin's Server Settings page. This page also allows you to disable the option if you do not need to use a secure connection (see the following figure). You can always enable it whenever necessary.
To enable a secure connection using the TLS protocol in Teamwork Cloud Admin
Move the slider to the right to enable the TLS protocol.
At this point, you will be able to connect to Magic Collaboration Studio from the modeling tool via the TLS connection.
To enable a secure connection using the TLS protocol on the client-side, use the Server Certificates tool.
The default port for a secure connection is 10002. If you are using another port for a secure connection instead of the default, append the port number to the server name in the Login dialog: |