You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 16, 2025. It is now read-only.
If you are only testing locally, you may skip this step. If you deploy your app to Azure App Service (for production or for testing), https is handled by Azure and you may skip this step. Note that https is essential for providing critical security and data integrity to your applications, and http should not be used outside of testing scenarios. If you need to configure your application to handle https, complete the instructions in this section.
162
159
163
-
You may then put the following key-value pairs into your `application.properties` file.
160
+
1. Use the `keytool` utility (included in JRE) if you want to generate self-signed certificate.
2. Put the following key-value pairs into your [application.properties](msal-web-sample/src/main/resources/application.properties) file.
167
+
168
+
```ini
169
+
server.ssl.key-store-type=PKCS12
170
+
server.ssl.key-store=classpath:keystore.p12
171
+
server.ssl.key-store-password=password
172
+
server.ssl.key-alias=testCert
173
+
```
174
+
175
+
3. Change both occurrences of `8080` to `8443`in the msal-web-sample's [application.properties](msal-web-sample/src/main/resources/application.properties) file.
176
+
4. Update your java_webapp Azure AD application registration redirects (e.g., `https://localhost:8443/msal4jsample/secure/aad` and `https://localhost:8443/msal4jsample/graph/me`) on the [Azure Portal](https://portal.azure.com).
171
177
172
178
#### Configure known client applications for service (Java-webapi)
0 commit comments