Server Certificate is missing in IIS

Version 2

    Description

    Server Certificate is missing in IIS.

     

    When attempting to login to the web console, the following error occurs:

     

     

    Unable to validate the current user with the database.

     

    Troubleshooting

    1. Enabling logging by adding a registry key to the Core Server: HKLM\Software\LANDesk\ManagementSuite\Core Type: DWORD Name: LogEvents Value: 1
    2. Try to log into the Web Console again.
    3. Look at event logs. 5/2/2008     3:26:42 PM     LANDesk Abstraction Layer     Information     None     0     N/A     LD88     "The description for Event ID ( 0 ) in Source ( LANDesk Abstraction Layer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Request to get database connection string.    LD88 specified as core.    A web exception (shown below) occurred when contacting the web service on the specified core.    Please verify that the web server is running, and that https has been properly configured on the specified core server.    Web exception details - System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 172.16.27.49:443      at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)      at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)      at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)      --- End of inner exception stack trace ---      at System.Net.HttpWebRequest.GetRequestStream()      at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)      at LANDesk.ManagementSuite.Information.DatabaseInformationWebReference.DatabaseInformation.GetConnectionString()      at LANDesk.ManagementSuite.Information.DatabaseInformation.GetConnectionString(String core) ." 5/2/2008     3:26:34 PM     LANDesk Abstraction Layer     Information     None     0     N/A     LD88     The description for Event ID ( 0 ) in Source ( LANDesk Abstraction Layer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: No connection string; core server: LD88. 5/2/2008     3:26:34 PM     LANDesk Abstraction Layer     Information     None     0     N/A     LD88     The description for Event ID ( 0 ) in Source ( LANDesk Abstraction Layer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: CALDOR\user is a member of the LDMS Management Suite group. 5/2/2008     3:26:32 PM     LANDesk Abstraction Layer     Information     None     0     N/A     LD88     The description for Event ID ( 0 ) in Source ( LANDesk Abstraction Layer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: User CALDOR\user was not found on the local core LD88.  Checking the domain controller.... 5/2/2008     3:26:32 PM     LANDesk Abstraction Layer     Information     None     0     N/A     LD88     The description for Event ID ( 0 ) in Source ( LANDesk Abstraction Layer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Found local groups. 5/2/2008     3:26:32 PM     LANDesk Abstraction Layer     Information     None     0     N/A     LD88     The description for Event ID ( 0 ) in Source ( LANDesk Abstraction Layer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Checking local groups. 5/2/2008     3:26:32 PM     LANDesk Abstraction Layer     Information     None     0     N/A     LD88     The description for Event ID ( 0 ) in Source ( LANDesk Abstraction Layer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: User: CALDOR\user. 5/2/2008     3:26:32 PM     LANDesk Abstraction Layer     Information     None     0     N/A     LD88     The description for Event ID ( 0 ) in Source ( LANDesk Abstraction Layer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Starting to validate the user.

     

    Resolution

    Run the following command to add the missing IIS configuration:

     

    C:\Program Files\LANDesk\ManagementSuite\SecureWebSiteInstall.exe "CertName" landesk/managementsuite/core/ssl landesk/managementsuite/core/ssl/remotecontrol landesk/managementsuite/core/ssl/information
    Where CertName is the name of the LANDesk Certificate. For example if the certificate name is d88_JAN1107, the command would be as follows.
    C:\Program Files\LANDesk\ManagementSuite\SecureWebSiteInstall.exe "ld88_JAN1107" landesk/managementsuite/core/ssl landesk/managementsuite/core/ssl/remotecontrol landesk/managementsuite/core/ssl/information

     

    If the IIS backup was restored, first look for a more recent backup.  IIS does perform some automatic backups. The automatic backups show the backup date. The first automatic backup after the installation should work.  Restore to that backup.