zaas-client src/test/resources/keystores/truststore.p12 (EDC5129I No such file or directory.) error
Describe the bug REST API startup fails with followng error when apiml.gateway.ssl.* are not provided even when server.ssl.* has the necessary values.
Caused by: java.io.FileNotFoundException: src/test/resources/keystores/truststore.p12 (EDC5129I No such file or directory.)
.at java.base/java.io.FileInputStream.open(FileInputStream.java:216) ~.na:na.
.at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) ~.na:na.
.at java.base/java.io.FileInputStream.<init>(FileInputStream.java:111) ~.na:na.
.at org.zowe.apiml.zaasclient.service.internal.ZaasHttpsClientProvider.getCorrectInputStream(ZaasHttpsClientProvider.java:153) ~.zaa
s-client-2.12.3.jar!/:2.12.3.
.at org.zowe.apiml.zaasclient.service.internal.ZaasHttpsClientProvider.getKeystore(ZaasHttpsClientProvider.java:134) ~.zaas-client-2
.12.3.jar!/:2.12.3.
Steps to Reproduce
- Start the spring boot application with server.ssl.* values and do not provide apiml.gateway.ssl.* values.
Expected behavior apiml.gateway.ssl should default to the server.ssl values appropriately or throw an actionable error instead
Details
- Version and build number: 2.12
REST API client (in case of REST API issue):
- Technology: Spring Boot
- OS: z/OS
Thanks for the feedback. If you have a fix, it would be great if you can provide it, otherwise we will get to it in next quarter e.g. February time frame.
I can try to do something. but if team is ready to pick anytime before it, don't wait for me. thanks
ZaasClient reads properties from apiml.service.ssl.* and those defaults to server.ssl.* It is not related to apiml.gateway.* peoperties. @recaph Does this answer your question?
As there is no answer, there seems to be no further interest in this case. If you feel different, please feel free to reopen.