Skip to content

TLS transport: server-authenticated TLS (PEM) for hotrods:// #18

Closed

Description

@rigazilla

Sub-issue of #10. Add TLS transport so hotrods:// works.

Scope (first slice): server-authenticated TLS over OpenSSL, PEM certs.

  • hotrods:// enables TLS; raw socket wrapped with OpenSSL (SSL_connect, SSL_read/SSL_write).
  • TlsConfig + programmatic RemoteCache::setTls(...): ca_file (PEM; empty = system trust), sni_host, hostname_validation (default on).
  • URI query keys (Java names): trust_store_file_name → ca_file, sni_host_name, ssl_hostname_validation.
  • Min TLS 1.2; SNI skipped for literal-IP hosts; hostname_validation=false disables only the hostname match, not chain verification.

Deferred (stay rejected by the URI parser): mutual TLS / client cert+key (key_store_*), Java keystore formats (JKS/PKCS12, *_store_type/*_password/alias), and ssl_protocol/ssl_ciphers/ssl_named_groups/ssl_provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions