If you only have a .jks extension file, a .p12 extension file can be created from this file as follows. Then the previous step is applied.To get the alias definition of the certificate, the following code is executed.A .p12 extension file is created from the known .jks extension file with the alias definition.
| Variable | Description |
|---|---|
| SSL_KEY_STORE | Path to the keystore containing the SSL certificate. In our example, we want Spring Boot to search for it in the classpath. |
| SSL_KEY_STORE_PASSWORD | Password used to access the keystore. |
| SSL_KEY_STORE_TYPE | Type of keystore (Usage: PKCS12). |
| SSL_KEY_ALIAS | Alias identifying the key in the keystore. |
| SSL_ENABLED | Enables the Spring Boot application to use HTTPS protocol. |
| SERVER_PORT | Port the server listens on. 8443 should be used. |

