How to persistently add a self-signed certificate to update service help from Visual Studio?

I have a self-signed certificate that I use in my Azure-WCF-WebRole project. Somehow I could just click the Update Service Reference , and the local service user just correctly updated the links.

My VM was probably re-created sometime, and since then I can no longer do this (with the error message There was an error downloading 'https://....svc/$metadata'. .. Googling around told me to run Fiddler , decrypt HTTPS , and then I can succeed.

It works, but only when running Fiddler . After closing, the Update Service Reference stops working.

I have added the certificate to my Trusted Root Certification Authorities , but the problem remains.

How can I constantly add a certificate, so I do not need to run Fiddler every time I want to update a service link in Visual Studio (2015, FWIW)?

+7
ssl-certificate visual-studio-2015 azure wcf self-signed
source share

No one has answered this question yet.

See related questions:

1146
How to create a self-signed certificate with OpenSSL
555
How can I get git to accept a self-signed certificate?
24
Can I force a WCF test client to accept a self-signed certificate?
7
Self-signed SSL certificate for localhost, how to make trusted
2
Consuming WCF service with a self-signed certificate from Winows Phone 7 err
one
Add a self-signed root certificate to Azure App Service
one
Update Service Link
0
How to configure ssl certificate in Azure Api Managment using service fabric
0
WCF Failed to establish trust for SSL / TLS secure channel with authority
0
WCF self signed certificate is not valid on localhost in iis

All Articles