问题原文
原帖链接 · 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.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
