This content has been marked as final.
Show 2 replies
-
1. Re: Hot rod encryption(SSL)
sebastian.laskawiec Aug 4, 2016 6:47 AM (in response to stejas7)I believe you can not. You should rather use different keystore + trustore pair per deployment environment.
-
2. Re: Hot rod encryption(SSL)
nadirx Aug 5, 2016 5:01 AM (in response to stejas7)Tejas,
the way you should setup a secure environment is as follows:
On the server
- The Keystore contains the server's identities, which means the server's private key together with all required signing CAs (unless these are part of the global JDK CA Roots)
- The Truststore contains all of the public keys of the certificates of the clients that will be connecting
On the client
- The KeyStore contains the client's identity key. This is different for each client.
- The TrustStore contains the necessary CA's (intermediate and root) needed to validate the server's certificate. This is common to all clients
With a large number of clients, managing all the certificates and files is going to be quite tricky, so you should probably opt for storing the certificates inside an LDAP directory and automate the generation of the stores.
I'll ask the WildFly team if the security realm authentication can be configured to check certs against an LDAP server directly.