Import certificate chain
29 Aug 2017
powershellImport certificate chain
#import cert chain
$p7b = '\\dc2012\CertEnroll\FoxDeployCAChain.p7b'
Import-Certificate -FilePath $p7b -CertStoreLocation Cert:\LocalMachine\Root
use
$error[0].Exception.InnerException
to check exception details
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.