However, this does not work when my service is hosted on Azure. I am unsure as to why this might happen. Does the .cer file need a certain build mode, or be in a specific folder or something else? The file is deployed with the WCF service.