Posted on: 11/13/2014 3:15:06 PM | Views : 714

Hello, I'm trying to develop a application in C#. The requirement is need to push  self-signed certificate(.pfx) to IIS store of remote machine in the same domain. I did try with the following code X509Store store = new X509Store(@"\\x.x.x.x\Trust", StoreLocation.LocalMachine);  //local IP in the same domain             StorePermission sp = new StorePermission(PermissionState.Unrestricted);             sp.Flags = StorePermissionFlags.OpenStore;             sp.Assert();             store.Open(OpenFlags.OpenExistingOnly | OpenFlags.ReadWrite); X509Certificate2 certificate = new X509Certificate2(@"E:\TestCert.pfx", "1234");      & ...

Go to the complete details ...