
# SSL Certificate Enricher
```{admonition} Module type

<span style='color: #0000FF'>[enricher](/core_modules.md#enricher-modules)</a></span>
```

Retrieves SSL certificate information for a domain and stores it as a file.

### Features
- Fetches SSL certificates for domains using the HTTPS protocol.
- Stores certificates in PEM format and adds them as media to the metadata.
- Skips enrichment if no media has been archived, based on the `skip_when_nothing_archived` configuration.

### Notes
- Requires the target URL to use the HTTPS scheme; other schemes are not supported.


## Configuration Options

### YAML
```{code} yaml
ssl_enricher:
  skip_when_nothing_archived: true

```

### Command Line:
| Option | Description | Default | Type|
| --- | --- | --- | --- |
| `ssl_enricher.skip_when_nothing_archived` | Optional. if true, will skip enriching when no media is archived | True | string |

[API Reference](../../../autoapi/ssl_enricher/index)
