/
How To Add SSL Support to API Projects
How To Add SSL Support to API Projects
To use SSL, you must configure the application.yml file to support SSL.
Configure your application.yml to support SSL
Go to src/main/resources and open application.yml.
Add the following configuration:
server: ssl: key-store: classpath:{PATH_TO_KEYSTORE} key-store-password: {YOUR_KEYSTORE_PASSWORD} key-store-type: {KEY_STORE_TYPE} key-alias: {The alias mapped to the certificate} # e.g, tomcat key-password: {YOUR_KEYSTORE_PASSWORD} port: 8443
Right click on API project and navigate to Open Legacy → Run Application.
Go to
https://localhost:8443/swagger
to test SSL connection.
Related article:
https://openlegacy.atlassian.net/wiki/spaces/OS/pages/446142
, multiple selections available,
Related content
How To Configure the API Caller HTTP Client With Trusted Certificate
How To Configure the API Caller HTTP Client With Trusted Certificate
More like this
How-To Configure SSL on a Tomcat server
How-To Configure SSL on a Tomcat server
More like this
Configuring API Caller for MTLS
Configuring API Caller for MTLS
Read with this
How To Package OpenLegacy API Project as WAR
How To Package OpenLegacy API Project as WAR
More like this
Using API Caller
Using API Caller
More like this
API プロジェクトでSSLサポートを追加する方法
API プロジェクトでSSLサポートを追加する方法
More like this