# SSL Certificate check - need idea

**URL:** <https://community.icinga.com/t/ssl-certificate-check-need-idea/7333>\
**Category:** Icinga 2\
**Created:** [May 11, 2021, 5:52pm UTC](https://community.icinga.com/t/ssl-certificate-check-need-idea/7333 "2021-05-11T17:52:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![10RUPTiV](https://community.icinga.com/user_avatar/community.icinga.com/10ruptiv/32/6724_2.png) [@10RUPTiV](https://community.icinga.com/u/10RUPTiV)\
**Post date:** [May 11, 2021, 5:52pm UTC](https://community.icinga.com/t/ssl-certificate-check-need-idea/7333/1 "2021-05-11T17:52:20Z")

</div>

Hey guys…

We are having a bunch of SSL to check, and I would like to know how are you doing it on your side…

Are you having a list? Are you having a “dumb” host ?

Need some idea 😉

---

<div class="post-metadata">

**Author:** ![homerjay](https://community.icinga.com/user_avatar/community.icinga.com/homerjay/32/377_2.png) [@homerjay](https://community.icinga.com/u/homerjay)\
**Post date:** [May 12, 2021, 9:23am UTC](https://community.icinga.com/t/ssl-certificate-check-need-idea/7333/2 "2021-05-12T09:23:26Z")

</div>

Hi.

I am not sure what you exactly mean, but maybe this is what you are searching for:  
See [here](https://community.icinga.com/t/website-and-certificate-monitoring-with-icinga/5705/10)

* * *

Greetings.

---

<div class="post-metadata">

**Author:** ![10RUPTiV](https://community.icinga.com/user_avatar/community.icinga.com/10ruptiv/32/6724_2.png) [@10RUPTiV](https://community.icinga.com/u/10RUPTiV)\
**Post date:** [May 12, 2021, 12:35pm UTC](https://community.icinga.com/t/ssl-certificate-check-need-idea/7333/3 "2021-05-12T12:35:08Z")

</div>

@homerjay

yeah it’s part of my question! I was curious to see how people are “checking” their SSL certificate using icinga2!

---

<div class="post-metadata">

**Author:** ![10RUPTiV](https://community.icinga.com/user_avatar/community.icinga.com/10ruptiv/32/6724_2.png) [@10RUPTiV](https://community.icinga.com/u/10RUPTiV)\
**Post date:** [May 12, 2021, 1:06pm UTC](https://community.icinga.com/t/ssl-certificate-check-need-idea/7333/4 "2021-05-12T13:06:56Z")

</div>

@homerjay

I’m using the idea of the link you post but having a little question…

Using something like  
apply Service "Certificate " for (vhost in host.vars.vhosts\_ssl) {

it will create a service called “Certificate andthevalue”

How can I name my service “Certicate [andthevalue]”

?

EDIT:  
solution is  
name = “SSL [” + vars.http\_vhost + “]”  
display\_name = “SSL [” + vars.http\_vhost + “]”
