Start and verify
For the complete documentation index see: llms.txt
All documentation pages available in markdown.
Before you write a dispute record, confirm every tier of the pipeline is running with TLS in place. Support agents cannot search cases that never left Aerospike, encrypted or not.
-
Start every service in the background.
Terminal docker compose up -d -
Wait until every container reports
healthyorrunning.TerminalTerminal docker compose ps --format 'table {{.Name}}\t{{.Status}}'Container status Expected output NAME STATUSaerospike Up 14 seconds (healthy)aerospike-elasticsearch-outbound Up 10 secondsaerospike-tools Up 12 secondselasticsearch Up 14 seconds (healthy)Elasticsearch may take a little longer to report
healthywhile the security stack initializes on first boot. If a container exits or does not become available, see Troubleshoot. -
Inspect the Elasticsearch connector’s TLS listener.
TerminalTerminal openssl x509 \-in ./security/connector.aerospike.com.crt \-noout -issuer -ext subjectAltNameopenssl s_client -brief \-CAfile ./security/ca.crt \-cert ./security/asd.aerospike.com.crt \-key ./security/asd.aerospike.com.key \-verify_hostname connector.aerospike.com \-verify_return_error \-servername connector.aerospike.com \-connect localhost:8443 </dev/nullCertificate and mTLS handshake Expected output issuer=... mkcert development CA ...X509v3 Subject Alternative Name:DNS:connector.aerospike.com, ...CONNECTION ESTABLISHEDVerification: OK...The exact issuer text varies by machine. The SAN must include
DNS:connector.aerospike.com, and the handshake must reportVerification: OK. Supplying the Aerospike client certificate and key also verifies that the listener accepts the configured mTLS identity. -
Verify the listener rejects a client that does not present a certificate.
TerminalTerminal if openssl s_client -brief \-CAfile ./security/ca.crt \-verify_hostname connector.aerospike.com \-verify_return_error \-servername connector.aerospike.com \-connect localhost:8443 </dev/null >/dev/null 2>&1; thenecho 'Unexpected: connection succeeded without a client certificate' >&2falseelseecho 'Client certificate required'fiClient authentication result Expected output Client certificate required -
Verify the Elasticsearch connector management endpoint is available on the loopback interface.
Terminal curl -fsS 'http://localhost:8902/manage/rest/v1/metrics' > /dev/nullThe command exits without output when the endpoint responds successfully.