ssl-checker

command
v0.0.0-...-e3259e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

SSL Health Checker

ssl-checker performs a set of health checks in your web application to detect any possible issues with the SSL configuration.

Installation

$> go get github.com/bitnami/healthcheck-tools/cmd/ssl-checker

Building from source

$> git clone https://github.com/bitnami/healthcheck-tools.git
$> make ssl-checker-linux-amd64

Requirements

This tool expects Apache as the web server (nginx will be supported in later versions).

Basic usage

The tool is executed as follows:

$> ssl-checker -apache-root <APACHE FOLDER> -apache-conf <APACHE CONF FILE> -hostname <SERVER IP/HOSTNAME> -port <HTTPS PORT>

The tool requires a set of parameters to work properly:

  • apache-root: Directory where apache is installed. Default value: /opt/bitnami/apache2.
  • apache-conf: Apache configuration file. Default value: /opt/bitnami/apache/conf/httpd.conf.
  • hostname: Hostname or IP address where the web server is running. Parameter required.
  • port: Port where the web server is serving HTTPS requests. Default value: 443

List of health checks

The tool will perform the following health checks:

  • Check if the Apache configuration contains SSL certificate-key pairs. It will show where these are defined.
  • Check if the detected certificates are not corrupted.
  • Check the domain name of the certificates.
  • Check if the certificate-key pairs match.
  • Check the certificate that the web server is returning (this requires you to have a running web server).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL