Could not get public key from server

If you are having a problem using Vault, post a message here.
Post Reply
MattWarner
Posts: 1
Joined: Mon Apr 23, 2012 9:21 am

Could not get public key from server

Post by MattWarner » Mon Apr 23, 2012 9:24 am

Hi guys,

I have just installed the 64bit professional version of vault on a windows 7 machine in our office.

The admin website works fine and I can see all of the projects meaning that the database upgrade from standard seems to have gone well.

However, when I try to connect using the client from another machine, I get the error message:
Could not get public key from server

Is there anything I have missed?

Thanks,
Matt

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Could not get public key from server

Post by Beth » Mon Apr 23, 2012 10:23 am

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, IIS APPPool or the user that is being impersonated.

2. On the Vault server, go to the %ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\MachineKeys folder. Make sure that the user specified above has read / write / modify permissions to the MachineKeys folder.

On new operating systems look for this directory:
C:\ProgramData\Microsoft\Crypto\RSA

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.
Beth Kieler
SourceGear Technical Support

Post Reply