大网数据广告活动
服务器运维问答

How do I request a certificate from CEP / CES on a Microsoft CA on OSX or Linux?

· 52CE 我爱测

This article describes how to request a certificate from AD CS (Active Directory Certificate Services) from a non-domain joined windows computer. I would think the same principals apply to non Microsoft OS's, and it's possible to…

问题原文

原帖链接 · makerofthings7 · CC BY-SA 3.0

This article describes how to request a certificate from AD CS (Active Directory Certificate Services) from a non-domain joined windows computer.

I would think the same principals apply to non Microsoft OS's, and it's possible to do the same enrollment from OSX or Linux.

Question

  • How would I request a certificate from AD CS on OSX/Linux?

  • OR can someone tell me how does the AD CS service work (in sufficient detail) so I can develop an alternate solution?

社区高分解答

原帖链接 · David Mulder · CC BY-SA 4.0

I realize this is a bit old, but there is a solution now, using certmonger + cepces. If you want to auto enroll, you can configure Group Policy in Samba with Certificate Auto Enrollment (only available in Samba 4.15+).

For a simple setup, you would install certmonger and cepces, then modify /etc/cepces/cepces.conf for your environment. For a typical configuration, you'll just need to set the server parameter to the dns name of your Windows CA.

The rpm spec is supposed to run a script that adds the CA to certmonger. If not, then add it with getcert add-ca -c cepces -e /usr/libexec/certmonger/cepces-submit.

Then you can request your certificate, for example:

# getcert request -c cepces -T Machine -I MachineCertificate -k /etc/pki/tls/private/machine.key -f /etc/pki/tls/certs/machine.crt
New signing request "MachineCertificate" added.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2015-02-27)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。