Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Using X.509 Authentication with Staging Service View modes: 
User avatar
Member
Member
scott_hancock-urmc.rochester - 7/19/2012 3:29:15 PM
   
Using X.509 Authentication with Staging Service
I was having trouble setting up my certificates so I ran through the tutorial in the Dev guide and imported the sample certificates but I ran into the same problem. The certificates don't show up in the wsecertrificate3.exe tool. I go through the steps in the Dev Guide but when I get to step 12 there is no entry for "Personal" in the "Store Name" field.

I've gone through all the other dropdowns and the certificates aren't showing up. In MMC I can see the certificates in the Local Computer>Personal>Certificates folder.

What am I missing?

Thanks,
Scott

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 7/23/2012 2:36:12 AM
   
RE:Using X.509 Authentication with Staging Service
Hi,

I am sorry for the confusion. There are some changes which are not reflected in the guide - we will add them ASAP.

First thing is that you need to add the client cert. under Current User -> Personal (user My user account instead of computer account in step 4). Then add the server cert. as described in the guide.

Set the read permissions + you need to set the read permissions for the server certificate too:
In the MMC console find the server cert. under Certificates (Local computer) -> Personal -> Certificates and right click the cert. -> All tasks -> Manage private keys and set the permissions for your user account.

After this, the sample certificate should work.

Best regards,
Juraj Ondrus

User avatar
Member
Member
robert.stankus-nist - 1/15/2014 9:35:10 AM
   
RE:Using X.509 Authentication with Staging Service
I was having the same issue described above. I deleted the certificate and added it back it. That corrected the first issue, but now I am getting this error on both the source and target server when I click on the "View Private Key File Properties..." button:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

The requested key container was not found.


User avatar
Member
Member
sstankus - 1/15/2014 10:14:48 AM
   
RE:Using X.509 Authentication with Staging Service
I corrected this issue. By default, the system was checking the box for "Enable strong private key protection..." when importing the certificate. Disabling this checkbox during the import corected the "The requested key container was not found" error.