Управление сертификатом SSL с Powershell DSC

У меня есть выпущенный сертификат третьего лица, который я должен гарантировать, работает на всех целях в данном домене. Существует ли способ гарантировать, что этот сертификат установлен посредством DSC?

12
задан 22 October 2014 в 21:00
2 ответа

В настоящее время нет встроенного способа сделать это в DSC. Я написал специальный ресурс для своей организации, который устанавливает сертификат из PFX. Я использовал сертификат Cert: PSDrive, Import-PfxCertificate и защищенные учетные данные в DSC (для пароля PFX).

Обновление

Это теперь живите в ресурсах Microsoft! Ресурс xPfxImport находится в модуле xCertificate v1.1 (и предположительно позже).

Также писал об этом в моем собственном блоге .

Еще раз спасибо за поддержку (особенно jscott ).

10
ответ дан 2 December 2019 в 21:37

Как насчет использования групповой политики для развертывания сертификата в домене? http://technet.microsoft.com/en-us/library/cc770315%28v=ws.10%29.aspx

Для развертывания сертификата с помощью групповой политики

Open Group Policy Management Console.

Find an existing or create a new GPO to contain the certificate settings. Ensure that the GPO is associated with the domain, site, or organizational unit whose users you want affected by the policy.

Right-click the GPO, and then select Edit.

Group Policy Management Editor opens, and displays the current contents of the policy object.

In the navigation pane, open Computer Configuration\Windows Settings\Security Settings\Public Key Policies\Trusted Publishers.

Click the Action menu, and then click Import.

Follow the instructions in the Certificate Import Wizard to find and import the certificate.

If the certificate is self-signed, and cannot be traced back to a certificate that is in the Trusted Root Certification Authorities certificate store, then you must also copy the certificate to that store. In the navigation pane, click Trusted Root Certification Authorities, and then repeat steps 5 and 6 to install a copy of the certificate to that store.
2
ответ дан 2 December 2019 в 21:37

Теги

Похожие вопросы