Question

Can I use an SSL Certificate to sign a C# assembly?

I am new to this so be gentle. I did the example where you create your own self-signed key and that worked fine. It appears I only need a valid .PFX or .snk file and I'm good to go. Is it really that simple?

.NET 4.0 on Windows 7, 64bit with Visual Studio 2010

Was it helpful?

Solution

No you can't. Certificates have a purpose built into them. SSL certs generally have server and client identification as their purpose. Code signing has it's own purpose.

You can generate a self signed code signing cert, it does need a few hoops but of course Windows will warn people about it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top