So I started with the basic procedure of adding the Windows Sever Update Services (WSUS) roles.
After doing so I created a self-signed certificate and add the domain names where required.
Image of left pane that contains the create the cert actions
Creating a self signed cert image
Then I would configure the HTTP and HTTPS ports respectively and bind the WSUS to my SSL certificate
Image of Binding WSUS to the certificate
Next, I enforced encryption on WSUS directories under the WSUS administration sites which are 'APIremoting, ClientWebService, DssAuthWebService, ServerSyncWebService, SimpleAuthWebService' by checking the 'Require SSL' check box.
Image of encryption enforcement
After that, I would navigate to 'C:\Program files\Update Services\Tools' folder and write the command that would tell the WSUS to use SSL
However now when try to sync it throws an error.
Update services window showing the error and failure to sync