Skip to main content

9. cMixx TLS Credentials

In this step you will generate the TLS credentials required for your node and gateway computers to connect to others on the xx Network.

About the TLS Credentials

Read Carefully

The following instructions will guide you in generating the cMix TLS credentials; two certificate and private key pairs, and the IDF of the cMix node. Loss of these files will make it impossible to reconnect your cMix node and gateway to the network. When completed you will find 5 new files, listed below, in /opt/xxnetwork/cred along with two TLS certificates that are included in the tarball.

The following files are irreplaceable!

  • cmix-IDF.json
  • cmix-cert.crt
  • cmix-key.key
  • gateway-cert.crt
  • gateway-key.key

Never share your *.key files with others.

Generate the Credentials

You will be prompted for information used to create the credentials. If you do not to provide answers, default values will be used.

cd /opt/xxnetwork/ && python3 generate-certs.py

Check the Credentials

Verify the files were created by listing the files in /opt/xxnetwork/cred

ls -la /opt/xxnetwork/cred/

Backup the Credentials

Basic file management is out of the scope of this handbook. How you backup the files depends on your situation. Factors such as, if you have physical access to the computer, are you backing up to a local or remote destination, are you using Windows, Linux, etc. Therefore, Searching online for "ubuntu server" "mount usb drive", "ubuntu server" "transfer files" scp or "filezilla ssh" should result in a solution that fits your situation.

Have you backed up your TLS credentials?

It is best practice to make duplicate copies of your TLS credentials.

The following files are irreplaceable!

  • cmix-IDF.json
  • cmix-cert.crt
  • cmix-key.key
  • gateway-cert.crt
  • gateway-key.key

Never share your *.key files with others.