Quick answer: Find the OpenSSL the service actually links before changing a group list. A 3.5 shell binary does not prove the daemon, container or crypto policy uses it.
Before you change a group list, find out which OpenSSL your service actually loads. The shell's openssl binary is often not the library the daemon uses, especially in containers and on distributions with crypto policies.
What this guide covers
It covers inventory and verification for OpenSSL-based services on Linux. It does not cover data at rest, code signing or QKD. The goal is to know what the service can negotiate before you ask it to negotiate a hybrid group.
Start with the package and the binary
openssl version -a
command -v openssl
readlink -f "$(command -v openssl)"
Then check the service you care about, not just the shell:
ldd "$(command -v nginx)" | grep -E 'ssl|crypto'
ldd "$(command -v apache2 || command -v httpd)" | grep -E 'ssl|crypto'
ldd "$(command -v postfix)" | grep -E 'ssl|crypto'
If the linked libssl is older than 3.5, the hybrid ML-KEM groups are not available to that service. Upgrade the package or move TLS termination to a proxy that has 3.5+.
Check the running process
A service can load a library from a non-standard path or a container layer.
pid=$(systemctl show -p MainPID --value nginx)
sudo ls -l /proc/$pid/maps | grep -E 'libssl|libcrypto'
sudo lsof -p "$pid" 2>/dev/null | grep -E 'libssl|libcrypto'
For a container:
docker exec <container> openssl version -a
docker exec <container> sh -c 'ldd $(command -v nginx) | grep -E "ssl|crypto"'
The container's library is the one that matters, not the host's.
Check distribution crypto policy
On RHEL-family systems, the system-wide crypto policy can remove groups or protocols even when the library supports them.
update-crypto-policies --show
update-crypto-policies --check
On Debian and Ubuntu, check the service configuration and the package versions:
dpkg -l | grep -E 'openssl|libssl'
apt-cache policy libssl3 libssl3t64 2>/dev/null
Do not change the system-wide policy just to make one test pass. Record the policy, the service configuration and the effective result.
Check the service configuration
For nginx:
nginx -T 2>/dev/null | grep -E 'ssl_protocols|ssl_ecdh_curve|ssl_conf_command'
For Apache:
apachectl -S 2>/dev/null
grep -R "SSLOpenSSLConfCmd\|SSLProtocol" /etc/apache2 /etc/httpd 2>/dev/null
You are looking for a group list that omits the hybrid group, an old protocol setting, or a TLS-terminating proxy in front of the service.
Verify the negotiated group
From an OpenSSL 3.5+ client:
openssl s_client \
-connect example.com:443 \
-servername example.com \
-tls1_3 \
-groups X25519MLKEM768 \
</dev/null 2>/dev/null | grep -i "Negotiated TLS1.3 group"
Expected:
Negotiated TLS1.3 group: X25519MLKEM768
If the client is older than 3.5, it cannot ask for the group. Upgrade the client first, or use the product's quantum check from an agent with PQ support.
Verify with Ready for Quantum
| Check | What it answers |
|---|---|
quantum | Did this connection negotiate a PQ key exchange? |
quantumcert | Does the certificate have the tested PQ property? |
https | Is trust and expiry acceptable? |
run_busybox_command | What does the local host report? |
| Command Processor | What versions, paths and config fragments are present? |
Use an agent on the same host or network. A public scanner cannot see a private service, and a host agent may see a different library from a container.
Version matrix
| Where to look | What it tells you |
|---|---|
openssl version -a | The shell binary, not the service |
ldd / process maps | The library the daemon loads |
| Container image | The library inside the container |
| Crypto policy | Whether a group is allowed |
Failure example
The host shell reports OpenSSL 3.5, but the service runs in a container that bundles 3.0. The host test passes and the container test fails. Checking the container's library and rebuilding the image fixes the gap.
Automate the inventory
A Command Processor is a good fit for a repeatable inventory:
- OS and kernel version.
- OpenSSL version and path.
- Linked
libssl/libcryptofor each service. - Crypto policy.
- Effective TLS configuration.
- Certificate paths and expiry.
An AgentFlow can run the inventory, add the quantum and quantumcert checks, collect the results and produce a report. A Connect can repeat the quantum check and alert on regression.
What can go wrong
- The shell has OpenSSL 3.5 but the service links an older library.
- A container bundles its own OpenSSL.
- A crypto policy removes the group.
- A CDN or load balancer terminates TLS before the service.
- The service uses a different config file from the one you edited.
Limits
- Inventory is not a fix.
- One target and one agent per check.
- The agent's algorithm set matters.
- No data-at-rest or QKD coverage.
- A clean check does not prove every service on the host is configured the same way.