File monitoring-plugins-ssl_cert.spec of Package monitoring-plugins-ssl_cert

# spec file for package monitoring-plugins-ssl_cert
# Copyright (c) 2019-2021, Martin Hauke <>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define realname check_ssl_cert
Name:           monitoring-plugins-ssl_cert
Version:        2.6.0
Release:        0
Summary:        An Icinga/Nagios plugin to check X.509 certificates
License:        GPL-3.0-or-later
Group:          System/Monitoring
BuildRequires:  nagios-rpm-macros
Requires:       curl
Requires:       expect
Requires:       openssl
Requires:       perl(Date::Parse)
Recommends:     bind-utils
Recommends:     nmap
BuildArch:      noarch

Checks an X.509 certificate:
 - checks if the server is running and delivers a valid certificate
 - checks if the CA matches a given pattern
 - checks the validity
 - checks SSL Labs grade

%setup -q -n %{realname}-%{version}


make DESTDIR=%{buildroot}%{nagios_plugindir} MANDIR=%{buildroot}%{_mandir} install

#make test

%doc AUTHORS ChangeLog NEWS
%dir %{nagios_libdir}
%dir %{nagios_plugindir}

openSUSE Build Service is sponsored by