Hi @VibinRajNadakkal-7146,
First make sure you have copied the correct MOMCertImport.exe, make sure you copied the MOMCertImport.exe tool from the AMD64 folder, it can be found in the SupportTools folder of the Operations Manager 2019 installation media.
Full path:
- System Center Operations Manager 2019\SupportTools\AMD64\MOMCertImport.exe
And make sure you open the Command Prompt with Run as administrator.
You can also just right-click the MomCertImport.exe and select Run as administrator, it will check for validity of the certificate, check for private key, correct name and if it is trusted (so if your computers trusts the CA where it came from).
Here's the command:
MOMCertImport.exe /SubjectName "YourServerNameFQDN"
I would recommend always typing the /SubjectName instead of just typing MOMCertImport.exe and selecting the certificate.
Here's also a guide for you:
- Monitoring – Add Untrusted Servers to SCOM 2012 R2 Part 1 – Setup of Management Servers
- Monitoring – Add Untrusted Servers to SCOM 2012 R2 Part 2 – Adding Untrusted Servers
(If the reply was helpful please don't forget to upvote or accept as answer, thank you)
Best regards,
Leon