I am trying to create a secure WCF service and I have created my temp x509 certificate but when I try to give ASPNET access to and use:

cmd>winhttpcertcfg -g -c LOCAL_MACHINE\MY -s TempCA -a ASPNET

I get the error:

Unable to find or obtain a context for requested certificate

the certificate is located in Console Root->Certificate(Local computer) -> Personal -> Certifactes


If any has a suggestion please let me know.

Thanks.