Quick tip: Sitecore XC 903 Certificate issue
Taxonomy: Sitecore
TerminatingError(New-SelfSignedCertificate): "CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)"
I've been struggling with this error today and I almost gave up, digging further into the issue I realized that to use the SIF 2.0 I did change the Store Location to LocalMachine for certificates while installing SC XP 902. This change installs the DO_NOT_TRUST_SitecoreRootCert to Trusted certificates in LocalMachine which is fine for XP.
But when you try installing Sitecore Commerce, the ManageCommerceService.PS1 will explicitly looking for this certificate in My folder as you can see in the image below:
Solution
Copy the DO_NOT_TRUST_SitecoreRootCert from Trusted Root Certification to Personal