Comments (4)
Not out of the box. Your choices are to either:
- Configure SpringBoot to serve HTTPS traffic, and deploy a certificate
- Put a reverse proxy or a TLS-capable load-balancer in front of Kafdrop
from kafdrop.
Do I need to alter the kafdrop code itself? or pass in a custom application.yml file that will support https connection?
I have set up a special application.yml file with these contents:
spring:
jmx:
enabled: true
default_domain: Kafdrop
jackson:
deserialization:
fail_on_unknown_properties: false
read_unknown_enum_values_as_null: true
management:
endpoints:
web:
base-path: /actuator
exposure.include: "*"
server:
port: 9000
kafdrop.monitor:
clientId: Kafdrop
kafka:
brokerConnect: localhost:9092
isSecured: false
saslMechanism: "PLAIN"
securityProtocol: "SASL_PLAINTEXT"
zookeeper:
connect: localhost:2181
server:
ssl:
key-store: C:\Users\dinh\Desktop\kafdropUpdated\kafdrop-3.18.1\target\server.keystore.jks
key-store-password: password
key-store-type: JKS
key-alias: synopsys
key-password: password
port: 8443
The command to run kafdrop is:
java -jar kafdrop-3.19.0-SNAPSHOT.jar --zookeeper.connect=10.15.164.233:2181 --kafka.brokerConnect=10.15.164.233:9093 --kafka.properties="C:\Users\dinh\Desktop\kafkaUI\kafdrop-master\kafdrop-master\target\kafka.properties" -Dspring.config.location=C:\Users\dinh\Desktop\kafdropUpdated\kafdrop-3.18.1\target\application.yml
When I try to access "https://localhost:9000" I get the error:
javax.net.ssl.SSLHandshakeException: no cipher suites in common
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:307)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:254)
at java.base/sun.security.ssl.ServerHello$T12ServerHelloProducer.chooseCipherSuite(ServerHello.java:460)
at java.base/sun.security.ssl.ServerHello$T12ServerHelloProducer.produce(ServerHello.java:295)
at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:436)
at java.base/sun.security.ssl.ClientHello$T12ClientHelloConsumer.consume(ClientHello.java:1102)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:854)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:813)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1074)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1061)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:689)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1008)
at io.undertow.protocols.ssl.SslConduit$5.run(SslConduit.java:1072)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Wor
Could you possibly add a ReadMe section that explains how to do so?
from kafdrop.
I'm not sure of the ssl configuration for SpringBoot
from kafdrop.
Closing due to inactivity.
from kafdrop.
Related Issues (20)
- Kafdrop failing to connect with Kafka broker running on docker HOT 2
- kafdrop with sasl plein text auth timeout
- in KRaft mode, WARN: Broker may not be available HOT 2
- Unable to disable vulnerable TLS protocols TLSv1, TLSv1.0 HOT 2
- Please help create new release & image HOT 3
- Arm64 container images HOT 1
- Kafdrop 4 complains about missing key store password though keystore was not set HOT 7
- Kafdrop 4.0.0 Docker image doesn't start HOT 15
- Invalid value SASL_PLAINTEXT HOT 3
- StackOverflow exception HOT 3
- I can't connect Broker when i run by Docker on Mac M1 HOT 2
- Only one node in the cluster is available, but kafdrop shows all nodes are online HOT 2
- When running kafdrop in a separate container, I can't configure the kafka broker address. HOT 2
- IllegalFormatConversionException on Long Search Queries in Message Search HOT 2
- Is there any way to hide the messages from kafdrop as in PROD it is not suitable to show the messages of eventhub or kafka HOT 5
- I cannot view messages within the topics. (No messages found in partition 0 at offset 0)
- arm64 architecture HOT 3
- Does it support deployment with spring native ? HOT 2
- NPE HOT 1
- Consumer Group Id is not html escaped in the UI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafdrop.