You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Track HTTPS (SSL) certificate expiry as HomeAssistant sensor."
5
+
date: 2017-04-24 14:14
6
+
sidebar: true
7
+
comments: false
8
+
sharing: true
9
+
footer: true
10
+
logo: home-assistant.png
11
+
ha_category: Sensor
12
+
ha_release: 0.43
13
+
---
14
+
15
+
This sensor fetches information from a configured URL and displays the certificate expiry (in days). The `host` and `port` must lead to a working SSL website.
16
+
17
+
To add the Certificate Expiry sensor to your installation, add these options to `configuration.yaml` file:
18
+
19
+
```yaml
20
+
# Example configuration.yaml entry
21
+
sensor:
22
+
- platform: cert_expiry
23
+
host: home-assistant.io
24
+
```
25
+
26
+
Configuration variables:
27
+
28
+
- **host** (*Required*): The host FQDN (or IP) to retrieve certificate from
29
+
- **port** array (*Optional*): Port number (default **443**).
30
+
31
+
<p class='note warning'>
32
+
Make sure that the URL exactly matches your endpoint or resource.
0 commit comments