ADMN login certificate error 7FFF3004

Hi there.

Avast seems to have been running smoothly up to now. I tried to login to the console from the AMS and it wouldn’t let me.

First error message tells me

The server certificate does not seem to be valid! Either it has an invalid signature or it is expired.

I click OK and up pops a second error message, and I get

Error 0x7FFF3004 Unable to login as Administrator or connection error

Checking the forums I found this

7FFF3004 SSL certificate is invalid or was rejected by the user

I also had a look at this thread.

I tried to generate a new certificate with the Management tools, and it just wouldn’t do it.
I then stopped the avast! Management Server service, deleted \data\amscert.pem and tried to generate a new certificate, but again it won’t do anything.

The system clock is correct, however it did go a little funny a few months back. For unknown reasons (possibly user error) over a few days it jumped ahead and got to september 2006, I think this was back in Feb.

I’ve attached the error log for the AMS.

How do I rectify the situation?
Any ideas why it happened so I can avoid future repititions?

To start, make sure that the “capicom” library is properly registered on the AMS machine. To do this, please execute the following command and try recreating the certificate (using the AMS Maintenance Tool):

regsvr32 c:\windows\system32\capicom.dll

(obviously replacing the path with a correct one if Windows is installed in a different folder).

Thanks
Vlk

Fantastic.
Works like a dream, Thanks VLK.

Any ideas as to how this may have come about?

No idea. It’s a system DLL so someone EVIL had to unregister it (maybe while installing its own version of it).

The reason I guessed where the problem was so quickly is that I have seen a similar thing on one other machine in the past (although that time, it took me 3 days of hunting to figure it out… ;D)

Cheers
Vlk