Link to home
Create AccountLog in
Avatar of SERGIO R. LUNA
SERGIO R. LUNAFlag for Mexico

asked on

Problem consuming WCF service that references two SSL certificates

Good afternoon community!


I have developed a WCF service in C#. I have published this service in Azure App Service, and everything works correctly.


The problem is in the configuration of certificates that the service requests when it is consumed by the Client.


Currently in azure app service, I have configured a custom domain (eg ws.mydomain.com.mx), to this domain I have configured an ssl certificate that I buy in azure of type wildcard (eg *.mydomain.com.mx)


The problem is that when we call the service from the client, it tells me that it refers to two certificates, the custom certificate and the default Azure certificate (*.azurewebsites.com).


My client asks me to send him the certificate (.cer) so that he can configure it in his infrastructure, I have already sent him my own certificate, but he tells me to send him the other certificate that the service is using.


Do you know how I can make my service only use my ssl certificate?


I attach an image of the result of the call to the service where it indicates that two certificates are being called.


User generated image


Thanks in advance for your support.

Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Is the second cert listed in the TLS/SSL Settings in your azure app?

https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex%2Cportal
Avatar of SERGIO R. LUNA

ASKER

hi kyle,

Good morning!

Thanks for your answer. There is no second certificate listed in the app service configuration

User generated image
My app service plan is of type "Premium V2 P1V2"

The certificate requested is the default certificate (*.azurewebsites.com)

ASKER CERTIFIED SOLUTION
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account