none
Service won't find Certificate specified in app.config RRS feed

  • Question

  • Hi Guys

    Have a WCF Service within Windows Service. The app.config specifies a certificate as follows:

    <serviceCredentials>
    <serviceCertificate findValue="www.mydomain.com" storeLocation="LocalMachine"
    storeName="My" x509FindType="FindBySubjectName" />
    </serviceCredentials>

    And the certificate is in the Personal(My) store on Local Computer. Certificate was made with makecert.exe

    However, the service fails with the message (obtained from log file): "Cannot load the X.509 certificate identity specified in the configuration."

    Anyone got any ideas why it might not be finding it?

    Ben

    Revision: Seems like the certificate is found, but won't load.

    Friday, May 18, 2007 5:21 PM