Overview
The Aviatrix Controller uses a self-signed certificate by default, which causes browsers to display the Controller UI as Not Secure. To remove the warning and strengthen the security of the Controller, replace the default certificate with one issued by a trusted Certificate Authority (CA). You have two methods to install a signed certificate:- Generate a Certificate Signing Request (CSR) and upload the signed certificate. This is the preferred method because the private key never leaves the Controller.
- Upload a certificate with its private key. Use this method when you must generate the key pair outside the Controller.
Prerequisites
- Administrator access to CoPilot.
- A trusted Certificate Authority that can issue a signed certificate for the Controller’s Fully Qualified Domain Name (FQDN).
- For the key-upload method, a workstation with
opensslinstalled.
Generate a Certificate Signing Request and Upload the Certificate
Use this method to let the Controller generate the private key and CSR. You then submit the CSR to your CA and upload the signed certificate back to the Controller.Open the Controller Certificate card
- In CoPilot, go to Settings > Configuration > General.
- Locate the Controller Certificate card.
- Click Upload Certificate.
- Select Generate Certificate Signing Request and Upload Certificate.
Generate the CSR
- In Fully Qualified Domain Name, enter the Controller’s FQDN.
- Click Download Request to generate and download the CSR file to your local system.
Obtain the signed certificates
Upload the signed certificates
- Return to Settings > Configuration > General and open the Controller Certificate card.
- Click Upload Certificate.
- Select Generate Certificate Signing Request and Upload Certificate.
- Under Step 2: Upload Certificate, click Select next to CA Certificate and choose the CA certificate file. Repeat for Server Public Certificate.
- Click Upload.
Upload a Certificate with a Key
Use this method when you must generate the private key and CSR outside the Controller.Open the Controller Certificate card
- In CoPilot, go to Settings > Configuration > General.
- Locate the Controller Certificate card.
- Click Upload Certificate.
- Select Upload Certificate with Key.
Generate the private key
Generate the CSR
Obtain the signed certificates
Upload the certificate bundle
- Return to Settings > Configuration > General and open the Controller Certificate card.
- Click Upload Certificate.
- Select Upload Certificate with Key.
- Click Select next to each of the following and choose the
corresponding file:
- CA Certificate
- Server Public Certificate
- Server Private Key (
my_priv.key)
- Click Upload.
Change the Certificate Domain
Changing the certificate domain regenerates certificates for the Controller and all managed gateways.Open the Certificate Domain tile
Enter the new certificate domain
- In the Certificate Domain textbox, enter the certificate domain you want to use. To revert to the default, click Reset To Default.
- Click Save.
Confirm and apply
- Select I understand the implications of changing the certificate domain.
- Click Change.