IIS manager crashing while creating server certificate request

Recently I worked on an issue where IIS manager was crashing while creating server certificate request. It was actually badly configured Cryptographic provider that was causing this crash. This was identified very easily by running the csptest command on the server. Output gave us the errors with cryptographic providers.

1. Open command prompt as administrator.

2. Run certutil -csptest >csptestresult.txt