Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Client SSL Authentication WildFly 30

27 views
Skip to first unread message

Alexander Belya (AlexSW)

unread,
Dec 23, 2024, 8:17:03 AM12/23/24
to WildFly
Greetings, everyone.
I would like to understand one topic.
There are three servers: one has WildFly 30 installed, the second and third have Kafka. Between the first and second servers should be SSL communication, but between the first and third - not. On the second server side, certificate authentication is enabled. The first server has a client certificate, with which it is necessary to go to the second server.
The question is as follows: how can I configure SSL on WildFly so that it only goes to the second server with a certificate and to the third server without a certificate?
We tried to configure as follows: we created two key-stores (one with client certificate, the other with trustor), then key-manager and trust-manager, then created client-ssl-context taking into account the created managers, and wrote authentication-context, in which we specified conditions (match-host and match-port) and ssl-context, which should be used when the conditions are met. But this configuration did not help.
Reply all
Reply to author
Forward
0 new messages