question

BoopathyElango-7282 avatar image
0 Votes"
BoopathyElango-7282 asked azure-cxp-api edited

Azure App service

Hi Team,

Front end is an Angular application hosted on Azure App service. Backend is a springboot application hosted on Tomcat Azure Linux VM and listening on port 8XXX and its configured with a SSL (a private certificate issued by the customer). We can access the GET api call from client browser since it has certificates installed to trust.

Now we have to achieve the same in Angular to access the Backend API. Not sure how to trust private certificates using Angular code.

Whenever we try to access the backend api, we are getting timeout. Not able to reach the endpoint. What could be the issue ? Is there something i can do outside angular code to trust certificates? I mean appservice provides any option to configure and access the certs.

Thanks.
Elango Boopathy.

azure-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Sam-Cogan avatar image
0 Votes"
Sam-Cogan answered

Unless you are using the App Service Environment (ASE), then it is not possible to upload your own certificate public keys to the trusted root store of the web app.
To connect to this service using a standard Web App you will need to use a certificate from a public provider that is already trusted.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.