- Using “propertyPlaceholderConfigurer” in Spring,the system properties values didn’t override the values in the properties files. We used the wrong configuration. The final solution is here and referred the article here:
1 | <!-- 2 here means SYSTEM_PROPERTIES_MODE_OVERRIDE, default is 1, which will not override. --> |
After exchanging the server/client certificates, the client side reports “can’t find trusted certificate” error. After a check, the problem is that the server’s certificate wasn’t imported into the client’s trust store file properly. Redo and OK;
After item2 is resolved, the client side still reports “Connection reset” error and it seems the server side refused the connection initialized by the client side. Then suddenly I realized that, after the client certificate was imported into the server side trust store file, the server side Glassfish doesn’t restart, which should be a mandatory step. After restart the Glassfish server, everything is OK.