WCF obtaining certificate encoded value

后端 未结 2 1816
孤独总比滥情好
孤独总比滥情好 2021-01-31 06:08

I am using a certificate with my WCF service so have an encoded value in the web.Config


  

        
2条回答
  •  日久生厌
    2021-01-31 06:54

    This can be done by exporting the certificate (via IIS or Certificate Snap In) to a .cer file without the private key in base64 form, then opening in notepad and copying and pasting this into encodedValue

提交回复
热议问题