Skip to content

Inject xmlpreprocessor properties

Charlie Mott edited this page Nov 17, 2017 · 3 revisions

Wiki: Home > Tips and Tricks

Requirement

On your development machine, you want to test an https receive location secured in IIS using a certificate. If you try using https://localhost/Service/MyService.svc you will receive an error such as “SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel”.

Solution

Inject the machine name into the Environment Settings file using an xmlpreprocessor property.

https://${_machine_name}/Service/MyService.svc

References: