Importing a Certificate via SCCM

Hi guys,

I've spent most of the day trying different things to install a certificate via a batch file so I can deploy it to machines via SCCM.

It's for a Microsoft Lync package and the certificate extension is ".p7b".

I have read you can use the CertUtil.exe but it's just not working for me.  Maybe this will only work for ".cer" certificates?

I've never really worked with certificates before so it's all new to me, any guidance is appreciated.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: henrik80 10 years ago
Posted by: philljp 10 years ago
Senior Yellow Belt

Thanks for the reply.  I've just been testing with that, and the following command:

Certmgr /add "Intermediate Certification Authorities" certificate.p7b


Error: Failed to open the source store

Posted by: philljp 10 years ago
Senior Yellow Belt

I found the correct syntax:

certutil -addstore -f "CA" certificate.p7b


Hopefully this helps someone in the future :)

  • Thanks for the update to the thread, first time with certificate imports for me too and the above command has saved me a lot of time. - SleepySid 9 years ago
    • Is this setup as a program or do you run a batch file? - Javilo 6 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ