certutil -setreg CA\CRLPublicationURLs"1:%WINDIR%\system32\CertSrv\CertEnroll\%%3%%8%%9.crl\n2:http://www.contoso.com/pki/%%3%%8%%9.crl\n10:LDAP:///CN=%%7%%8,CN=%%2,CN=CDP,CN=Public Key Services,CN=Services,%%6%%10"certutil -setreg CA\CACertPublicationURLs"1:%WINDIR%\system32\CertSrv\CertEnroll\%%1_%%3%%4.crt\n2:LDAP:///CN=%%7,CN=AIA,CN=Public Key Services,CN=Services,%%6%%11\n2:http://www.contoso.com/pki/%%1_%%3%%4.crt"There should be spaces after CA\CRLPublicationURLs or it fails to run.Peter
↧