Posts

Showing posts with the label JBoss

JBoss EAP 7.4.0 - standalone ssl webservice client config?

 Configuring a JBoss EAP 7.4.0 standalone SSL web service client involves setting up the necessary properties and configurations in your JBoss EAP standalone configuration. Here's a step-by-step guide on how to configure an SSL web service client in JBoss EAP 7.4.0: 1. **Import SSL Certificates**: To communicate with an SSL-secured web service, you need to import the SSL certificates of the server you're connecting to. Import the server's certificate into the JBoss EAP's truststore. Use the `keytool` utility to do this:    ```bash    keytool -import -alias your_server -file server.crt -keystore truststore.jks    ``` 2. **Configure the Web Service Client**: You can configure your web service client in your JBoss EAP deployment descriptor (e.g., `jboss-deployment-structure.xml`) to specify the use of SSL. Here's an example of a `jboss-deployment-structure.xml` file:    ```xml    <jboss-deployment-structure>        <deployment>            <dependencies&g