THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
Home » Categories » Multiple Categories

SSL Certificate does not validate properly

Issue:

The SSL certificate won't validate properly because the certificate didn't include any subject alternative names. Adding SAN (Subject Alternative Name” into “Additional Attributes” field on a Microsoft Certificate Authority certificate request form does not generate a certificate with a SAN entry.

Solution:

Solution 1

Please review the this article that describes the problem and solution. Essentially, you must run a script to correct the issue that the issuance policy of the Microsoft CA is not configured to accept the Subject Alternative Name(s) attribute via the CA Web enrollment page.

Then, when using the web certsrv, add this under the attributes:

san:dns=your.fqdn.xxx

Solution 2

Another possible solution is to pass the config file below (include your information) to openssl.

[ req ]
default_bits = 2048
prompt = no
distinguished_name = req_distinguished_name
req_extensions = req_ext
[ req_distinguished_name ]
countryName = US
stateOrProvinceName = XXXX
localityName = XXXX
organizationName = XXXXXXX
commonName = your.fqdn.com
[ req_ext ]
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = your.fqdn.com

Then, this when doing the CSR (Certificate Signing Request):

openssl req -new -key nagiosxi.key -out nagiosxi.csr -config thefile


Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

1 (2)
Article Rating (2 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
OpenSSL causes issue with check_nrpe plugin with NSClient++
Viewed 14789 times since Fri, Apr 30, 2021
Nagios XI - 2014 Upgrade Issue - CONFIG ERROR
Viewed 7845 times since Mon, Jan 25, 2016
Nagios XI - Installing Latest SourceGuardian Loaders
Viewed 10592 times since Mon, Jun 18, 2018
Nagios XI - SourceGuardian Errors 2009R1.2C
Viewed 6235 times since Tue, Feb 2, 2016
Nagios XI - ERROR: unable to open include file: conf.d/*.cfg
Viewed 11340 times since Sun, May 29, 2016
Nagios XI - How To Use CA Certificates With check_ldaps Plugin
Viewed 16322 times since Tue, Jul 26, 2016
Nagios XI - Configuration Applies, but still get "Configuration File Is Out Of Date" Error
Viewed 7029 times since Tue, Jan 26, 2016
Nagios XI - Defining Global Environment Variables
Viewed 13274 times since Thu, Mar 17, 2016
Nagios XI - Missing localhost Alerts
Viewed 8424 times since Sun, Nov 5, 2017
ERROR: Please add the ’Optional’ channel to your Red Hat systems subscriptions
Viewed 30591 times since Tue, Jan 26, 2016