Hello there,
If you are getting Error Code 1312, the certificate you are attempting to bind likely does not contain the private key. If you are getting Error Code 1312, you can determine if the certificate you imported contains the private key by looking at its icon in MMC
Make sure you've installed the certificate in the service account (MMC -> add snap-in -> certificates -> computer account) and NOT in your personal account.
The below thread discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.https://social.technet.microsoft.com/Forums/windowsserver/en-US/68452008-a89b-40ba-9927-472efcfafc99/ssl-certificate-add-failed-error-1312
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--