Last active
August 29, 2015 14:27
-
-
Save ricston-git/8b8dae0b68b80a76df9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<http:listener-config name="httpsServerConnectorOneWaySSL" | |
host="localhost" port="8082" doc:name="HTTP Listener Configuration" | |
protocol="HTTPS"> | |
<tls:context> | |
<tls:key-store type="jks" path="server-keystore" | |
keyPassword="mulepass" password="mulepass" /> | |
</tls:context> | |
</http:listener-config> | |
<http:request-config protocol="HTTPS" | |
name="httpsClientConnectorOneWaySSL" host="localhost" port="8082" | |
doc:name="HTTP Request Configuration"> | |
<tls:context> | |
<tls:trust-store path="client-truststore" password="mulepass" | |
type="jks" /> | |
</tls:context> | |
</http:request-config> | |
<flow name="httpsClientOneWaySSL"> | |
<http:listener path="oneWaySSL" config-ref="httpServerConnector" | |
doc:name="HTTP" /> | |
<logger message="sending request from https client to https server (one way ssl)..." | |
level="INFO" doc:name="Logger" /> | |
<http:request config-ref="httpsClientConnectorOneWaySSL" | |
path="httpsServer" method="GET" doc:name="HTTP" /> | |
</flow> | |
<flow name="httpsServerOneWaySSL"> | |
<http:listener path="httpsServer" config-ref="httpsServerConnectorOneWaySSL" | |
doc:name="HTTP" /> | |
<logger message="accessed https server successfully - via one way ssl!" level="INFO" | |
doc:name="Logger" /> | |
</flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment