Unable to connect to server schannel errors/exchange errors etc.

Application log:

EventID 58, CertSvc:

A certificate in the chain for CA certificate 0 for ??????? CA has expired. A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file. 0x800b0101 (-2146762495).

EventID 486, ESENT:

tcpsvcs (2540) An attempt to move the file “C:\WINDOWS\System32\dhcp\backup\new” to “C:\WINDOWS\System32\dhcp\backup\old” failed with system error 5 (0x00000005): “Access is denied. “. The move file operation will fail with error -1032 (0xfffffbf8).

 

System log:

EventID: 1078, DhcpServer

The DHCP service encountered the following error when backing up the registry configuration:

Access is denied.

EventID: 36872, Schannel

No suitable default server credential exists on this system. This will prevent server applications that expect to make use of the system default credentials from accepting SSL connections. An example of such an application is the directory server. Applications that manage their own credentials, such as the internet information server, are not affected by this.

 

All the above caused by an expired Certificate Authority certificate.  To regenerate simple type the following at command line:

certutil -renewCert