Skip to content

Support for providing cipher suites and enabled TLS protocols #1334

@mardlucca

Description

@mardlucca

Could you please provide support for providing cipher suites and enabled TLS protocols? Something along the lines of:

httpServer:
  ssl:
    keyStore:
      filename: localhost.jks
      password: changeit
    certificate:
      alias: localhost
    enabledProtocols: "TLSv1.2,TLSv1.3"
    cipherSuites: "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"

For protocols, apparently if you use "TLS" for your SSLContext, java will enable all supported cipher suites. Then you can restrict them using SSL parameters...
(Relevant code here: https://github.com/prometheus/jmx_exporter/blob/main/jmx_prometheus_common/src/main/java/io/prometheus/jmx/common/util/SSLContextFactory.java#L146)

Thank you,

Marcio

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions