> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assistantscenter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SSL

> If you want to use the https protocol, you must provide us with a certificate and an SSL key String. This can also be `fs.readFileSync`.

```js theme={null}
new DBD.Dashboard({
  ssl: {
    enabled: Boolean,
    key: String,
    cert: String,
  },
});
```

## Example Usage

```javascript theme={null}
new DBD.Dashboard({
  ssl: {
    enabled: true,
    key: fs.readFileSync("key.pem"),
    cert: fs.readFileSync("cert.pem"),
  },
});
```

## Props

<ParamField path="enabled" type="boolean" required>
  Indicate if SSL should be enabled or not.
</ParamField>

<ParamField path="key" type="string" required>
  Path to the ssl key file
</ParamField>

<ParamField path="cert" type="string" required>
  Path to the ssl cert file
</ParamField>
