---
title: "set disable_https_cert_regeneration"
canonical: "https://docs.infoblox.com/space/nios86/35984460/set%20disable_https_cert_regeneration"
format: markdown
---
Use the `set disable_https_cert_regeneration` command to turn on or off the automatic regeneration of a self-signed HTTPS certificate.

NIOS regenerates a certificate in the following scenarios:

- If<span style="color: #333333"> you change a host name and the new name does not match the name of the existing certificate. This is especially useful </span><span style="color: #333333">for wildcard certificates. </span>
- <span style="color: #333333">If the certificate is self-signed and the regeneration is enabled (it is enabled by default) , restarting NIOS or changing the host name or IP address causes NIOS to regenerate the certificate.</span>

# Syntax

`set disable_https_cert_regeneration`` ``[on|off]`

| **Argument** | **Description** |
| --- | --- |
| <span style="color: #000000">on</span> | <span style="color: #333333">Disables the automatic regeneration of the self-signed HTTPS certificate</span><span style="color: #000000">. Automatic certificate regeneration is enabled by default.</span> |
| <span style="color: #000000">off</span> | <span style="color: #333333">Enables the automatic regeneration of the self-signed HTTPS certificate</span> |

# Example

`Infoblox > set disable_https_cert_regeneration off`  
`HTTPS certificate regeneration enabled.`