I have SCDF deployed on PCF environment (1.2.3 Release) I need to enforce communication only for trusted parties for HTTP endpoint;
On the first approach - I have installed 3rd party certificates on the PCF level; SSL connection is stablished correctly - however communication on this endpoint not using certificates is still possible (e.g. curl )
Based on my investigation I have found the following way
- I have created trust store using openssl /keytool
- I have setup the simple stream as "http | log"
for deploy http app - I am using following properties
app.http.logging.level.org.springframework.integration=DEBUG
app.http.management.security.enabled=true
app.http.server.ssl.client-auth=need
app.http.server.ssl.enabled=true
app.http.server.ssl.trust-store=https://static_file_URL/SCDF.truststore
app.http.server.ssl.trust-store-password=<pass>
however the module does not start with the following error message "Resource location must not be null"
[OUT] at org.springframework.cloud.stream.app.http.source.rabbit.HttpSourceRabbitApplication.main(HttpSourceRabbitApplication.java:29) [classes/:na]
[OUT] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_141]
[OUT] at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) [app/:na]
[OUT] Caused by: java.lang.IllegalArgumentException: Resource location must not be null
can you advise me how to configure http module to achieve this goal?
best regards Wojtek