Wildfly has a new security framework called Elytron, which brings significant changes to how you configure Wildfly to make use of SSL for EJB connections.
This post details the configuration required and shows a simple client and EJB project to demonstrate the steps needed to secure your EJB calls.