Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a c# program and part of it creates a self-signed certificate.

The problem is when i try to import the certificate in MMC it says "This certificate has an invalid digital signature."

And when i try to add this certificate through command prompt using netsh http add it says:

SSL Certificate add failed, Error: 1312 A specified logon session does not exist. It may already have been terminated.

I've tried all suggestions from other sites, still no luck.

By the way, my machine is running in Windows7-64bit.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.