D365 On Premise Installation Error

Hello Everyone.


I am getting the following error when trying to install local agent as a part of D365 on premise deployment. 


AADSTS70002: Error validating credentials. AADSTS50012: Client assertion contains an invalid signature. [Reason - The key was not found., Thumbprint of key used by client: '0FA712620BB8CEA8B0C2177B8EE847E97747D285', Configured keys: [Key0:Start=03/24/2015, End=03/23/2017, Thumbprint=oHwgXcmQM8JS4qZJ;Key1:Start=03/03/2017, End=04/03/2018, Thumbprint=ABqbWj5woqDe12uy;Key2:Start=07/31/2017, End=07/31/2047, Thumbprint=8JQl0sIa93WA4Npg;Key3:Start=04/09/2013, End=04/09/2015, Thumbprint=//HJRRXHO/6NNeSq;]] Trace ID: d9ac09b2-f6d5-48b6-b033-f29d51432500 Correlation ID: bf75979f-0d12-4a16-9124-89c51afa1c81 Timestamp: 2018-01-16 00:34:49Z ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at 


Can someone please help?