---
title: "Managing Certificates"
canonical: "https://docs.infoblox.com/space/nios85/35381871/Managing%20Certificates"
format: markdown
---
<span style="color: #000000">This section covers the following:</span>

> Macro (toc)

# <span style="color: #000000">About HTTPS Certificates</span>

<span style="color: #000000">The NIOS appliance generates a self-signed certificate when it first starts. A self-signed certificate is signed by the subject of the certificate, and not by a CA (Certificate Authority). This is the default certificate. When your computer first connects to the NIOS appliance, the appliance sends this certificate to authenticate itself to your browser.</span>  
<span style="color: #000000">Because the default certificate is self-signed, your browser does not have a trusted CA certificate or a cached NIOS appliance server certificate (saved from an earlier connection) to authenticate the NIOS appliance certificate. Also, the host name in the default certificate is </span>*<span style="color: #000000">www.infoblox.com,</span>*<span style="color: #000000"> which is unlikely to match the host name of your NIOS appliance. Consequently, messages appear warning that the certificate is not from a trusted certifying authority and that the host name on the certificate is either invalid or does not match the name of the site that sent the certificate. Either accept the certificate just for this session or save it to the certificate store of your browser.</span>  
<span style="color: #000000">To eliminate certificate warnings, you can replace the default self-signed certificate with a different certificate that has the host name of your NIOS appliance. The NIOS appliance supports X.509 certificates in .PEM format. After the initial login, you can do one of the following:</span>

- <span style="color: #000000">Generate another self-signed certificate with the correct host name and save it to the certificate store of your browser.</span>
- <span style="color: #000000">Request a CA-signed certificate with the correct host name and load it on the NIOS appliance. For more information, see </span><span style="color: #003300">Generating Certificate Signing Requests below</span><span style="color: #000000">.</span>
- <span style="color: #000000">When you receive the certificate from the CA, upload it to the appliance. Additionally, you can upload a certificate along with the private key, as described below in </span><span style="color: #003300">Uploading HTTPS Certificates</span><span style="color: #000000">.</span>
- <span style="color: #000000">Download the certificate from a trusted CA, as described below in </span><span style="color: #003300">Downloading HTTPS Certificates</span><span style="color: #000000">.</span>

## <span style="color: #000000">Generating Self-Signed Certificates</span>

<span style="color: #000000">You can replace the default certificate with a self-signed certificate that you generate. When you generate a</span>  
<span style="color: #000000">self-signed certificate, you can specify the correct host name and change the public/private key size, enter valid dates and specify additional information specific to the NIOS appliance. If you have multiple appliances, you can generate a certificate for each appliance with the appropriate host name. You can generate a self-signed certificate using either the SHA-1 or SHA-256 (SHA-2) hash algorithm. </span>

<span style="color: #000000">To generate a self-signed certificate:</span>

1. <span style="color: #000000">Grid: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid </span>****<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab -> </span>**<span style="color: #000000">Members</span>**<span style="color: #000000"> tab -> </span>*<span style="color: #000000">member</span>*<span style="color: #000000"> checkbox, and then click </span>**<span style="color: #000000">Certificates</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">HTTPS </span>****<span style="color: #000000">Cert</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Generate </span>****<span style="color: #000000">Self-signed </span>****<span style="color: #000000">Certificate</span>**<span style="color: #000000"> from the Toolbar. In a Grid, ensure that you select the Grid Master when generating a self-signed certificate.</span>
2. <span style="color: #000000">In the </span>*<span style="color: #000000">Generate </span>**<span style="color: #000000">Self-Signed </span>**<span style="color: #000000">Certificate</span>*<span style="color: #000000"> dialog box, complete the following:</span>
  - **<span style="color: #000000">Secure </span>****<span style="color: #000000">Hash </span>****<span style="color: #000000">Algorithm </span>****<span style="color: #000000">and </span>****<span style="color: #000000">Key </span>****<span style="color: #000000">Size: </span>**<span style="color: #000000">You can select one of the following: SHA-1 with a RSA key size of 1024 or 2048, SHA-256 (SHA-2) with a RSA key size of 2048 or 4096, SHA-384 with a RSA key size of 2048 or 4096, SHA-512 with a RSA key size of 2048 or 4096. The default value is SHA-256 2048.</span>  
<span style="color: #333333">Note that </span><span style="color: #000000">The SHA-384 and SHA-512 are not supported during scheduled full upgrades for the Grid. If your Grid includes a reporting server, ensure that you </span>**<span style="color: #000000">DO NOT</span>**<span style="color: #000000"> select a key size of 4096 bit for SHA-256. Otherwise, the reporting feature might not function properly because Java does not support SHA-256 with a key size of 4096.</span>
  - <span style="color: #000000">**Days **</span><span style="color: #000000">**Valid:**</span><span style="color: #000000"> Specify the validity period of the certificate.</span>
  - **<span style="color: #000000">Common </span>****<span style="color: #000000">Name:</span>**<span style="color: #000000"> Specify the domain name of the NIOS appliance. You can enter the FQDN (fully qualified domain name) of the appliance.</span>
  - **<span style="color: #000000">Organization:</span>**<span style="color: #000000"> Enter the name of your company.</span>
  - **<span style="color: #000000">Organizational </span>****<span style="color: #000000">Unit:</span>**<span style="color: #000000"> Enter the name of your department.</span>
  - **<span style="color: #000000">Locality:</span>**<span style="color: #000000"> Enter a location, such as the city or town of your company.</span>
  - **<span style="color: #000000">State </span>****<span style="color: #000000">or </span>****<span style="color: #000000">Province:</span>**<span style="color: #000000"> Enter the state or province.</span>
  - **<span style="color: #000000">Country </span>****<span style="color: #000000">Code:</span>**<span style="color: #000000"> Enter the two-letter code that identifies the country, such as US.</span>
  - **<span style="color: #000000">Admin </span>****<span style="color: #000000">E-mail </span>****<span style="color: #000000">Address:</span>**<span style="color: #000000"> Enter the email address of the appliance administrator.</span>
  - **<span style="color: #000000">Comment:</span>**<span style="color: #000000"> Enter information about the certificate.</span>
  - **<span style="color: #000000">Subject Alternative Name</span>**<span style="color: #000000">: You can specify Subject Alternative Names (SAN) in order to secure additional host names across different domains or subdomains. You can add the following entries to be included as SAN extension to self-signed certificate: </span>**<span style="color: #000000">DNS</span>**<span style="color: #000000">, </span>**<span style="color: #000000">Email</span>**<span style="color: #000000">, </span>**<span style="color: #000000">IP Address</span>**<span style="color: #000000">, and </span>**<span style="color: #000000">URI</span>**<span style="color: #000000">. Click the Add icon and Grid Manager adds a row to the table. Click the row and select the entry from the drop-down list, and then enter the value for the SAN entry. You can add up to 30 entries. To remove an entry from the list, select the SAN entry, and then click the Delete icon.</span>  
<span style="color: #172b4d">For Google Chrome version 58 and later, Firefox version 101.0 and later, Safari in iOS 13 and macOS 10.15, and some other browsers, it is mandatory to enter the subject alternative name.</span>
3. <span style="color: #000000">Click </span>**<span style="color: #000000">OK</span>**<span style="color: #000000">.</span>
4. <span style="color: #000000">If the appliance already has an existing HTTPS certificate, the new certificate replaces the existing one. In the </span>*<span style="color: #000000">Replace </span>**<span style="color: #000000">HTTPS </span>**<span style="color: #000000">Certificate </span>**<span style="color: #000000">Confirmation</span>*<span style="color: #000000"> dialog box, click </span>**<span style="color: #000000">Yes</span>**<span style="color: #000000">. The appliance logs you out, or you can manually log out. When you log in to the appliance again, it uses the new certificate you generated.</span>


> ⚠️ **Note**
> ⚠️ 
> ⚠️ <span style="color: #000000"> If you have enabled the DNS over TLS or the DNS over HTTPS feature on a Grid member, then every time a new self-signed certificate is generated, the DNS over TLS or the DNS over HTTPS service (depending on which feature is enabled)  automatically restarts to upload the new certificate. </span>

## <span style="color: #000000">Generating Certificate Signing Requests</span>

<span style="color: #000000">You can generate a CSR (certificate signing request) that you can use to obtain a signed certificate from your own trusted CA. Once you receive the signed certificate, you can import it in to the NIOS appliance.</span>

<span style="color: #000000">To generate a CSR:</span>

1. <span style="color: #000000">Grid: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid </span>****<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab -> </span>**<span style="color: #000000">Members</span>**<span style="color: #000000"> tab -> </span>*<span style="color: #000000">member</span>*<span style="color: #000000"> checkbox, and then click </span>**<span style="color: #000000">Certificates</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">HTTPS </span>****<span style="color: #000000">Cert</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Create </span>****<span style="color: #000000">Signing </span>****<span style="color: #000000">Request</span>**<span style="color: #000000"> from the Toolbar.</span>
2. <span style="color: #000000">In the </span>*<span style="color: #000000">Create </span>**<span style="color: #000000">Certificate </span>**<span style="color: #000000">Signing </span>**<span style="color: #000000">Request</span>*<span style="color: #000000"> dialog box, enter the following:</span>
  - **<span style="color: #000000">Secure </span>****<span style="color: #000000">Hash </span>****<span style="color: #000000">Algorithm </span>****<span style="color: #000000">and </span>****<span style="color: #000000">Key</span>****<span style="color: #000000">Size:</span>**<span style="color: #000000"> You can select one of the following: SHA-1 with a RSA key size of 1024 or 2048, SHA-256 (SHA-2) with a RSA key size of 2048 or 4096, SHA-384 with a RSA key size of 2048 or 4096, SHA-512 with a RSA key size of 2048 or 4096. The default value is SHA-256 2048.</span>  
<span style="color: #000000">Note that t</span><span style="color: #000000">he SHA-384 and SHA-512 are not supported during scheduled full upgrades for the Grid.</span>
  - **<span style="color: #000000">Common </span>****<span style="color: #000000">Name</span>**<span style="color: #000000">: Specify the domain name of the NIOS appliance. You can enter the FQDN of the appliance.</span>
  - **<span style="color: #000000">Organization</span>**<span style="color: #000000">: Enter the name of your company.</span>
  - **<span style="color: #000000">Organizational </span>****<span style="color: #000000">Unit</span>**<span style="color: #000000">: Enter the name of your department.</span>
  - **<span style="color: #000000">Locality</span>**<span style="color: #000000">: Enter a location, such as a city or town of your company.</span>
  - **<span style="color: #000000">State </span>****<span style="color: #000000">or </span>****<span style="color: #000000">Province</span>**<span style="color: #000000">: Enter the state or province.</span>
  - **<span style="color: #000000">Country </span>****<span style="color: #000000">Code</span>**<span style="color: #000000">: Enter the two-letter code that identifies the country, such as US.</span>
  - **<span style="color: #000000">Admin </span>****<span style="color: #000000">E-mail </span>****<span style="color: #000000">Address</span>**<span style="color: #000000">: Enter the email address of the appliance administrator.</span>
  - **<span style="color: #000000">Comment</span>**<span style="color: #000000">: Enter information about the certificate.</span>
  - **<span style="color: #000000">Subject Alternative Name</span>**<span style="color: #000000">: You can specify Subject Alternative Names (SAN) in order to secure additional host names across different domains or subdomains. You can add the following entries to be included as SAN extension to CSR (Certificate Signing Requests): </span>**<span style="color: #000000">DNS</span>**<span style="color: #000000">, </span>**<span style="color: #000000">Email</span>**<span style="color: #000000">, </span>**<span style="color: #000000">IP Address</span>**<span style="color: #000000">, and </span>**<span style="color: #000000">URI</span>**<span style="color: #000000">. Click the Add icon and Grid Manager adds a row to the table. Click the row and select the entry from the drop-down list, and then enter the value for the SAN entry. You can add up to 30 entries. To remove an entry from the list, select the SAN entry, and then click the Delete icon.</span>
3. <span style="color: #000000">Click </span>**<span style="color: #000000">OK</span>**<span style="color: #000000">.</span>

## <span style="color: #000000">Uploading HTTPS Certificates</span>

<span style="color: #000000">When you receive the certificate from the CA, and import it to the appliance, the NIOS appliance finds the matching CSR and takes the private key associated with the CSR and associates it with the newly imported certificate. The appliance then automatically deletes the CSR. </span>

<span style="color: #000000">You can also upload the certificate along with its private key. When you do so, you do not need to generate a CSR on the NIOS appliance. Before you upload the certificate, Infoblox recommends that you save the certificate on the local disk and set the private key permissions to 600 and owned by root. Note that you might need to set the private key permissions to other values, depending on your business requirements. Also ensure that both the certificate and the private key are in PEM format and in the same upload file, and that the private key is not protected.</span>

<span style="color: #000000">If the CA sends an intermediate certificate that must be installed along with the server certificate, you can upload both certificates to the appliance. The appliance supports the use of intermediate certificates to complete the chain of trust from the server certificate to a trusted root CA. This eliminates intermediate certificate security warnings that appear when you open a web browser and try to connect to an Infoblox appliance. For instructions to upload a CA certificate, see Uploading CA Certificates below.</span>  
<span style="color: #000000">To import a HTTPS certificate:</span>

1. <span style="color: #000000">Grid: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab -> </span>**<span style="color: #000000">Members</span>**<span style="color: #000000"> tab -> </span>*<span style="color: #000000">member</span>*<span style="color: #000000"> checkbox, and then click </span>**<span style="color: #000000">Certificates</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">HTTPS</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Cert</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Upload</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Certificate</span>**<span style="color: #000000"> from the Toolbar.</span>
2. <span style="color: #000000">Navigate to where the certificate is located and click </span>**<span style="color: #000000">Open</span>**<span style="color: #000000">.</span>
3. <span style="color: #000000">If the appliance already has an existing HTTPS certificate, the new certificate replaces the existing one. In the </span>*<span style="color: #000000">Replace</span>*<span style="color: #000000"> </span>*<span style="color: #000000">HTTPS</span>*<span style="color: #000000"> </span>*<span style="color: #000000">Certificate</span>*<span style="color: #000000"> </span>*<span style="color: #000000">Confirmation</span>*<span style="color: #000000"> dialog box, click </span>**<span style="color: #000000">Yes</span>**<span style="color: #000000">.</span>  
The appliance imports the certificate and logs you out. When you log in to the appliance again, it uses the certificate you imported.


> ⚠️ **Note**
> ⚠️ 
> ⚠️ <span style="color: #000000"> If you have enabled the DNS over TLS or the DNS over HTTPS feature on a Grid member, then every time you upload an HTTPS certificate, the DNS over TLS or the DNS over HTTPS service (depending on which feature is enabled) automatically restarts to upload the new certificate. For more information, see </span>*[<span style="color: #000000">Configuring DNS over TLS and DNS over HTTPS Services</span>](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35418166)*<span style="color: #000000">.</span>

## <span style="color: #000000">Downloading HTTPS Certificates</span>

<span style="color: #000000">You can download the current certificate or a self-signed certificate, as described in the </span>*<span style="color: #000000">Generating Certificate Signing Requests</span>*<span style="color: #000000"> section.</span>

<span style="color: #000000">To download a certificate:</span>

1. <span style="color: #000000">Grid: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab -> </span>**<span style="color: #000000">Members</span>**<span style="color: #000000"> tab -> </span>*<span style="color: #000000">member</span>*<span style="color: #000000"> checkbox, and then click </span>**<span style="color: #000000">Certificates</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">HTTPS</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Cert</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Download</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Certificate</span>**<span style="color: #000000"> from the Toolbar.</span>
2. <span style="color: #000000">Navigate to where you want to save the certificate, enter the file name, and then click </span>**<span style="color: #000000">Save</span>**<span style="color: #000000">.</span>

# <span style="color: #000000">About Client Certificates</span>

<span style="color: #000000">You can generate client certificates for a Grid Master or a Grid Master candidate, and then send it to another server, such as a Hardware Security Module (HSM).</span>

## <span style="color: #000000">Generating a Client Certificate</span>

<span style="color: #000000">To generate a client certificate:</span>

1. <span style="color: #000000">Grid: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid </span>****<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab.</span>  
<span style="color: #000000">Grid Master Candidate: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid </span>****<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab -> </span>**<span style="color: #000000">Members</span>**<span style="color: #000000"> tab -> </span>*<span style="color: #000000">member</span>*<span style="color: #000000"> checkbox.</span>
2. <span style="color: #000000">From the Toolbar, click </span>**<span style="color: #000000">Certificates</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Client </span>****<span style="color: #000000">Cert</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Generate </span>****<span style="color: #000000">Client </span>****<span style="color: #000000">Certificate</span>**<span style="color: #000000">, and select either </span>**<span style="color: #000000">RSASHA1</span>**<span style="color: #000000"> or </span>**<span style="color: #000000">RSASHA256</span>**<span style="color: #000000">.</span>
  - <span style="color: #000000">If you are generating a certificate for an HSM group with SafeNet Luna SA 4 devices, you must select </span>**<span style="color: #000000">RSASHA1</span>**<span style="color: #000000">; and if the certificate is for an HSM group with SafeNet Luna SA 5 or later, select </span>**<span style="color: #000000">RSASHA256</span>**<span style="color: #000000">.</span>

<span style="color: #000000">The appliance displays a confirmation dialog after it generates the certificate. If a certificate had been previously generated, the appliance displays a dialog warning that if the previous certificate was registered with a server, then the new certificate must be registered with the server.</span>

## <span style="color: #000000">Viewing Client Certificates</span>

<span style="color: #000000">To view the client certificates that were generated:</span>

1. <span style="color: #000000">Grid: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab.</span>  
<span style="color: #000000">Grid Master Candidate: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab -> </span>**<span style="color: #000000">Members</span>**<span style="color: #000000"> tab -> </span>*<span style="color: #000000">member</span>*<span style="color: #000000"> checkbox.</span>
2. <span style="color: #000000">From the Toolbar, click </span>**<span style="color: #000000">Certificates</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Client</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Cert</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">View</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Client</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Certificate</span>**<span style="color: #000000">, and select either </span>**<span style="color: #000000">RSASHA1</span>**<span style="color: #000000"> or </span>**<span style="color: #000000">RSASHA256.</span>**

<span style="color: #000000">The appliance displays the selected certificate.</span>

## <span style="color: #000000">Downloading Client Certificates</span>

<span style="color: #000000">To download a client certificate:</span>

1. <span style="color: #000000">Grid: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab.</span>  
<span style="color: #000000">Grid Master Candidate: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab -> </span>**<span style="color: #000000">Members</span>**<span style="color: #000000"> tab -> </span>*<span style="color: #000000">member</span>*<span style="color: #000000"> checkbox.</span>
2. <span style="color: #000000">From the Toolbar, click </span>**<span style="color: #000000">Certificates</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Client</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Cert</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Download</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Client</span>**<span style="color: #000000"> </span>**<span style="color: #000000">Certificate</span>**<span style="color: #000000">, and select either </span>**<span style="color: #000000">RSASHA1</span>**<span style="color: #000000"> or </span>**<span style="color: #000000">RSASHA256.</span>**
3. <span style="color: #000000">Save the certificate.</span>

# <span style="color: #000000">About CA Certificates</span>

<span style="color: #000000">If the CA sends an intermediate certificate that must be installed along with the server certificate, you can upload both certificates to the appliance. The appliance supports the use of intermediate certificates to complete the chain of trust from the server certificate to a trusted root CA. This eliminates intermediate certificate security warnings that appear when you open a web browser and try to connect to an Infoblox appliance.</span>  
<span style="color: #000000">When you configure two-factor authentication for smart card users, ensure that you upload the required CA certificates before you enable the certificate authentication service. For information about two factor authentication and how to configure it, see</span>*<span style="color: #0000ff"> </span>*[*<span style="color: #0000ff">Defining the Authentication Policy</span>*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35882322)<span style="color: #000000">. Only superusers and limited-access users with the required permissions can manage CA certificates. For information about admin permissions, see </span>[*<span style="color: #0000ff">Administrative Permissions for Certificate Authentication Services and CA Certificates</span>*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35817303)<span style="color: #000000">.</span>

<span style="color: #000000">Also, see </span><span style="color: #003300">About CA Certificates for CISCO APIC below</span><span style="color: #000000">.</span>

## <span style="color: #000000">Uploading CA Certificates</span>

<span style="color: #000000">To upload a CA-signed certificate:</span>

1. <span style="color: #000000">Grid: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid </span>****<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab.</span>  
<span style="color: #000000">Member: From the </span>**<span style="color: #000000">Grid</span>**<span style="color: #000000"> tab, select the </span>**<span style="color: #000000">Grid </span>****<span style="color: #000000">Manager</span>**<span style="color: #000000"> tab -> </span>**<span style="color: #000000">Members</span>**<span style="color: #000000"> tab -> </span>*<span style="color: #000000">member</span>*<span style="color: #000000"> checkbox.</span>
2. <span style="color: #000000">Select </span>**<span style="color: #000000">Certificates</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Manage </span>****<span style="color: #000000">CA </span>****<span style="color: #000000">Certificates</span>**<span style="color: #000000"> from the Toolbar.</span>
3. <span style="color: #000000">In the </span>*<span style="color: #000000">CA </span>**<span style="color: #000000">Certificates</span>*<span style="color: #000000"> editor, click the Add icon.</span>
4. <span style="color: #000000">In the </span>*<span style="color: #000000">Upload</span>*<span style="color: #000000"> dialog box, click </span>**<span style="color: #000000">Select</span>**<span style="color: #000000"> and navigate to the certificate you want to upload.</span>
5. <span style="color: #000000">Select the file and click </span>**<span style="color: #000000">Upload</span>**<span style="color: #000000">.</span>


> ⚠️ **Note**
> ⚠️ 
> ⚠️ - <span style="color: #000000">NIOS can only upload certificates that are in PEM format. A.PEM file can contain more than one certificate. For information about how to convert CA certificates to .PEM format, see </span><span style="color: #003300">Converting CA Certificates to PEM below</span><span style="color: #000000">.</span>
> ⚠️ - <span style="color: #000000">If you have enabled the DNS over TLS or the DNS over HTTPS feature on a Grid member, then every time you upload a CA certificate, the DNS over TLS or the DNS over HTTPS service (depending on which feature is enabled) automatically restarts to upload the new certificate. For more information, see </span>[*<span style="color: #0000ff">Configuring DNS over TLS and DNS over HTTPS Services</span>*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35418166)<span style="color: #000000">.</span>

<span style="color: #000000">Repeat the steps to add additional CA-signed certificates.</span>

<span style="color: #000000">The </span>*<span style="color: #000000">CA</span>*<span style="color: #000000"> </span>*<span style="color: #000000">Certificates</span>*<span style="color: #000000"> dialog box displays the following information about the intermediate certificates:</span>

- **<span style="color: #000000">Subject</span>**<span style="color: #000000">: The name of the certificate.</span>
- **<span style="color: #000000">Issuer</span>**<span style="color: #000000">: The name of the trusted CA that issued the certificate.</span>
- **<span style="color: #000000">Serial</span>**<span style="color: #000000">: The serial number of the certificate.</span>
- **<span style="color: #000000">Valid</span>**<span style="color: #000000">: The validity period of the certificate.</span>
- **<span style="color: #000000">Used </span>****<span style="color: #000000">by</span>**<span style="color: #000000">: Displays </span>**<span style="color: #000000">SSL/TLS,</span>**<span style="color: #000000"> when CA certificate is not used for certificate authentication, or </span>**<span style="color: #000000">CAS</span>**<span style="color: #000000">, when CA certificate is associated with a certificate authentication service.</span>

<span style="color: #000000">You can also do the following:</span>

- <span style="color: #000000">Select a certificate and click the Delete icon to delete it.</span>
- <span style="color: #000000">Print the data or export it in .csv format.</span>

## <span style="color: #000000">About CA Certificates for Cisco ACI</span>

<span style="color: #000000">Grid Manager accepts CA certificates and certificate chains; therefore, you can upload both root and intermediate (one-file certificate chain) certificates. Following are recommendations and best practices for having valid Cisco ACI certificates authenticated via Grid Manager.</span>

<span style="color: #000000">For a Root CA certificate, complete the following on the Cisco ACI side:</span>

1. <span style="color: #000000">Select the Root CA certificate as the default Certificate Authority.</span>
2. <span style="color: #000000">Issue a Key Ring certificate request signed by this Certificate Authority. Make sure that the APIC Key Ring certificate is created.</span>
3. <span style="color: #000000">In the Cisco ACI GUI, select </span>**<span style="color: #000000">Fabric</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Fabric Policies</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Pod Policies</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Policies</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Management Access</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">default</span>**<span style="color: #000000">.</span>
4. <span style="color: #000000">Make sure that the Admin Key Ring and Oper Key Ring correspond to the one created in step 2.</span>  
<span style="color: #000000">Now you can upload and select the Root CA certificate in Grid Manager.</span>

<span style="color: #000000">For an Intermediate CA certificate, complete the following on the Cisco ACI side:</span>

1. <span style="color: #000000">Select the certificate chain as the default Certificate Authority. This certificate chain must include at least one Intermediate and Root CA certificate.</span>
2. <span style="color: #000000">Issue a Key Ring certificate request signed by this Certificate Authority. Make sure that the APIC Key Ring certificate is created.</span>
3. <span style="color: #000000">In the Cisco ACI GUI, select </span>**<span style="color: #000000">Fabric</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Fabric Policies</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Pod Policies</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Policies</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">Management Access</span>**<span style="color: #000000"> -> </span>**<span style="color: #000000">default</span>**<span style="color: #000000">.</span>
4. <span style="color: #000000">Make sure that the Admin Key Ring and Oper Key Ring correspond to the one created in step 2.</span>  
<span style="color: #000000">Now you can upload and select the certificate chain in Grid Manager. If you are unable to select the whole chain in the CISCO APIC Configuration tab, choose the Intermediate certificate.</span>

<span style="color: #000000">Recommended best practices:</span>

- <span style="color: #000000">Make sure that the CA marker is set to "True" in the CA certificate. You can check it in OpenSSL.</span>
- <span style="color: #000000">Make sure that the Subject (CN) of the APIC Key Ring certificate is a fully qualified domain name or a distinguished name of the requesting device.</span>  
<span style="color: #000000">When NIOS tries to establish a connection to the APIC using SSL, it compares the APIC host name value with the value specified in the APIC Key Ring certificate CN (common name). If they do not match, the certificate verification fails. If you want to specify something different than FQDN, for example, an IP address, for the APIC Key Ring certificate CN, include an additional Subject Alternative Name marker in X509v3 extensions:</span>
  <span style="color: #000000">X509v3 Subject Alternative Name: </span>  
<span style="color: #000000">IP Address:[ip-addr]</span>  
<span style="color: #000000">or</span>  
<span style="color: #000000">X509v3 Subject Alternative Name: </span>  
<span style="color: #000000">DNS:FQDN</span>  
<span style="color: #000000">or both of them</span>  
<span style="color: #000000">X509v3 Subject Alternative Name: </span>  
<span style="color: #000000">DNS:FQDN, IP Address:ip-addr</span>  
<span style="color: #000000">where ip-addr is a valid IP address of the APIC device, and FQDN is a valid fully qualified domain name.</span>
- <span style="color: #000000">Make sure to include the following markers in the APIC Key Ring certificate:</span>
  <span style="color: #000000">X509v3 extensions:</span>  
<span style="color: #000000">X509v3 Basic Constraints: </span>  
<span style="color: #000000">CA:FALSE</span>  
<span style="color: #000000">Netscape Cert Type: </span>  
<span style="color: #000000">SSL Server</span>  
<span style="color: #000000">...</span>  
<span style="color: #000000">X509v3 Key Usage: critical</span>  
<span style="color: #000000">Digital Signature, Key Encipherment</span>  
<span style="color: #000000">X509v3 Extended Key Usage: </span>  
<span style="color: #000000">TLS Web Server Authentication</span>
- <span style="color: #000000">Certificate date must be valid.</span>
- <span style="color: #000000">The time settings in Cisco ACI and NIOS must be valid and accurate.</span>

# <span style="color: #000000">Converting CA Certificates to PEM Format</span>

<span style="color: #000000">NIOS can only upload certificates that are in PEM format. PEM files are Base64 encoded ASCII files. You can use OpenSSL to convert other certificate formats, such as P7B and DER, into PEM format.</span>  
<span style="color: #000000">You can run OpenSSL on Linux and Windows systems. For Linux, OpenSSL is pre-installed. For Windows, you can manually install an OpenSSL for Windows. For information about OpenSSL, visit its web site at </span>[*<span style="color: #000000">http://www.openssl.org/</span>*](http://www.openssl.org/)<span style="color: #000000">.</span>

  
<span style="color: #000000">To convert a P7B file to PEM format using OpenSSL:</span>

1. <span style="color: #000000">Download and unzip the CA certificate file in P7B format.</span>
2. <span style="color: #000000">Navigate to the directory where you unzip the CA certificate file.</span>
3. <span style="color: #000000">Identify the PKCS7 directory.</span>
4. <span style="color: #000000">Use the following OpenSSL command to convert the P7B file to PEM format:</span>  
`$ openssl pkcs7 -in xxxx.p7b -print_certs -out yyyy.pem`  
<span style="color: #000000">where xxxx is the name of the P7B file and yyyy is the name of the converted PEM file.</span>

<span style="color: #000000">To convert a DER file to PEM format using OpenSSL:</span>

1. <span style="color: #000000">Download and unzip the CA certificate file in DER format.</span>
2. <span style="color: #000000">Navigate to the directory where you unzip the CA certificate file.</span>
3. <span style="color: #000000">Use the following OpenSSL command to convert the DER file to PEM format:</span>  
`$ openssl x509 -inform DER -outform PEM -in xxxx.cer -out yyyy.pem`  
<span style="color: #000000">where xxxx is the name of the DER file and yyyy is the name of the converted PEM file.  </span>

> Macro (__confluenceADFMigrationUnsupportedContentInternalExtension__)