Public key error using Windows Vault client

Forum for discussing features/bugs in our upcoming release, which is available to beta testers now.

Moderator: SourceGear


Posts: 3
Joined: Wed Jul 29, 2009 4:47 pm
PostPosted: Thu Jul 30, 2009 10:42 pm
When attempting to connect to the server, I get this message

"Could not get public key from server"

The admin user id and password works file on the server using the web client, and the IP of the vault server is correct.

I saw this error in another forum on this site, but it appeared to be very old....

Any ideas>

Posts: 7926
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear
PostPosted: Fri Jul 31, 2009 7:23 am
The fix has been around a while, but still valid:

This error is caused when the ASP.Net process account that the Vault web service is running does not have the correct security rights on the %ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\MachineKeys folder. To correct this, go through the following steps:

1. Determine which account is being used by the Vault Service. The system started message in the Vault server log file will contain a line stating "Identity = USER", where user is ASPNET, SYSTEM, NETWORK SERVICE, or the user that is being impersonated.

2. Make sure that the user specified above has read / write / modify permissions to the %ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\MachineKeys
3. If the problem persists after adding these permissions, stop IIS, and find a file that starts with "edb3...." in the directory mentioned earlier. Delete it, and then restart IIS. Then try to log into Vault.
Linda Bauer
SourceGear
Technical Support Manager

Return to Vault 5.0/Fortress 2.0 Beta Testers

Who is online

Users browsing this forum: No registered users and 1 guest