Configuring an OCI Fabric connector
To configure an OCI Fabric connector:
- In FortiOS, go to Security Fabric > Fabric Connectors. Click Create New, then select Oracle Cloud Infrastructure (OCI).
- Configure the connector as follows:
- Name: Enter the desired connector name.
- User ID: Enter the OCID of the OCI user who belongs to the administrator group. You can find the OCID on the OCI portal as shown:
The user must be in the Administrators group on OCI.
- Tenant ID: Enter the tenant's OCID. You can find this on the OCI portal as shown:
- Compartment ID: Enter the compartment's OCID. If you have multiple compartments, choose the desired one. You can find this on the OCI portal as shown:
- OCI Region: Choose the one currently in use.
- For the OCI Certificate field, you must select a certificate that satisfies OCI key size limits. The minimum size is 2048 bits. Do one of the following:
- Select the built-in default certificate called Fortinet_Factory.
- Follow steps 1-2 in Using a custom certificate to configure a custom certificate.
- At this stage, you must register the certificate's fingerprint to the specified OCI user.
- Go to the OCI user, then API Keys > Add Public Key.
- If you selected the Fortinet_Factory certificate in step 2f, do the following:
- In FortiOS, go to System > Certificate. Select Fortinet_Factory, then click Download.
- You now have the Fortinet_Factory.cer file. Create a public key file in PEM format from it, using a freely available tool of your choice such as OpenSSL.
- Copy and paste the content of the certificate PEM key file in the Add Public Key window in OCI. Click Add.
- You now see the fingerprint.
You can configure the following for the fingerprint:
- Update Interval: The default value is 60 seconds. You can change the value to between 1 and 3600 seconds.
- Status: Green means that the connector is enabled. You can disable it at any time by toggling the switch.
- Click OK.
You can also configure the Fabric connector using the CLI. Execute the following commands:
config system sdn-connector
edit “<OCI connector name>”
The
show
command shows what is currently configured. To set each element, executeset <element> <value>
and thennext end
saves the configuration and returns to the original indentation that you started with.You can also see the configuration by running
get <OCI connector name>
. In this case, enterget oci-sdn
.