-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
jmx_exporter/jmx_prometheus_common/src/main/java/io/prometheus/jmx/common/HTTPServerFactory.java
Line 837 in b5eb913
| sslParameters.setNeedClientAuth(mutualTLS); |
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
Reactions are currently unavailable