1.18.0 1.17.5
Auto Light Dark
Auto Light Dark
1.18.0 1.17.5

Verification and Testing

Service Startup and Integration Validation

Nginx Installation and Configuration

This section describes the installation and configuration of the Nginx web server, which is used to handle HTTP/HTTPS requests and assist in validating the Keyless SSL setup.

  1. Install the Nginx package using the following command:

sudo dnf install -y nginx
  1. Enable the Nginx service to start automatically on system boot, and start the service.

sudo systemctl enable nginx
sudo systemctl start nginx
sudo systemctl status nginx
image-20260610-073124.png

Starting and verifying nginx service

  1. Open the required firewall ports to allow HTTP and HTTPS traffic.

sudo firewall-cmd --add-service=http --permanent
sudo firewall-cmd --add-service=https --per
  • Ports 80 (HTTP) and 443 (HTTPS) must be accessible to allow incoming client connections.

  • This ensures that the web server can receive traffic for testing and validation of the SSL setup.

  1. Verify that Nginx is successfully listening on the required ports.

ss -tulnp | grep -E '80|443'
image-20260610-073429.png

Firewall configuration and verification of HTTP/HTTPS ports

GoKeyless Service Setup and Initialization

This section describes the creation of a systemd service for the GoKeyless server and the steps required to start, enable, and verify the service. Configuring GoKeyless as a system service ensures it runs consistently and starts automatically during system boot.

  1. Create systemd service for GoKeyless.

sudo nano /usr/lib/systemd/system/gokeyless.service

Add the following configuration:

[Unit]
Description=gokeyless daemon
After=network.target

[Service]
Type=simple
User=gokeyless
Group=gokeyless
WorkingDirectory=/etc/keyless
ExecStart=/usr/bin/gokeyless

[Install]
WantedBy=multi-user.target
  1. Reload systemd configuration.

sudo systemctl daemon-reexec
sudo systemctl daemon-reload
  1. Enable and start the GoKeyless service.

sudo systemctl enable gokeyless
sudo systemctl start gokeyless
  1. Verify service status.

sudo systemctl status gokeyless
image-20261019-074615.png


Monitoring GoKeyless daemon status

Logs and Validation Steps

  1. Run the following command to verify the GoKeyless log verification.

journalctl -u gokeyless -f

Logs:

image-20260610-082010.png

GoKeyless logs

curl -v https://utimaco.ssl4saas.com
image-20260610-082339.png


TLS handshake and server response validation using curl command


Note: GoKeyless v1.18 accepts only TLS 1.2 connections on the key server interface (port 2407). TLS 1.3 connection attempts are expected to fail during the handshake. Successful Cloudflare-to-GoKeyless communication uses TLS 1.2 with mutual TLS authentication.