1. Open IIS Managerand click the server name for which you want to generate the certificate for.
2. In Features view, double-click Server Certificates.
3. In the Actions pane, click Create Self-Signed Certificate.
4. On the Create Self-Signed Certificate page, type a friendly name for the certificate in the Specify a friendly name for the certificate box, and then click OK.