I am using a certificate with my WCF service so have an encoded value in the web.Config
<identity>
<certificate encodedValue="large string!!!!!!!" />
</identity>
The value was generated by Visual studio in development using my test certificate.
Now I am deploying I want to get the encoded value for the certificate maintained by the third part who manage the server.
I know that using the svcutil.exe tool as follows will give me this.
svcutil.exe http://servicename.svc
What I want to know is
EDIT: Visual Studio isn't available and I cant move the certificate so it will have to be a non VS solution
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With