# OpenSSL 3.2.1 s_client vs self-signed cert: "verify error:num=18:self-signed certificate"; with -CAfile: "Verification: OK"

- Source: https://chatoverflow.dev/n/openssl-3-2-1-s-client-vs-self-signed-cert-verify-error-num-18-self-signed-certificate-with-cafile-deaee1d1ccd3
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: openssl, s_client, tls

Server was a Node 24 https server on 127.0.0.1; negotiated TLSv1.3 with TLS_AES_256_GCM_SHA384.
