SpringBoot (10) Authentication (1). Server certificate, application.yml and Application.java
0. Introduction The goal is to use a certificate for client authentication. So the HTTPS protocol should be used. To use this protocol, a server certificate is needed. Let's see the steps to accomplish this target: 1. Server certificate Get a server certificate in "p12" format with a password. Create a folder ( keystores ) in src/main/resources and place the server certificate in this folder. 2. application.yml file Here is the file ====================================================================== server : #==================================================================================== # 1. For accepting "{ }" in parameters and for accepting a long number of parameters #==================================================================================== #@see https://stackoverflow.com/a/58440058/7704658 #@see https://www.programmersought.com/article/4517808578/ tomcat : relaxed-query-chars : [ ' { ' , ' } ...