Certipy
Certipy copied to clipboard
Allow specifying password when forging certificate using stolen CA cert
There is currently no way for me to specify a password for a stolen CA cert so that I can generate forged certificates using this cert. In order to forge the cert, I had to re-export the CA certificate without a password.
Would it be possible to add a flag for the forge module to specify the certificate password? Thanks!
Certipy v3.0.0 - by Oliver Lyak (ly4k)
usage: certipy forge [-h] -ca-pfx pfx/p12 file name -alt alternative UPN [-template pfx/p12 file name] [-subject subject] [-crl ldap path] [-serial serial number]
[-debug] [-out output file name]
optional arguments:
-h, --help show this help message and exit
-ca-pfx pfx/p12 file name
Path to CA certificate
-alt alternative UPN
-template pfx/p12 file name
Path to template certificate
-subject subject Subject to include certificate
-crl ldap path ldap path to a CRL
-serial serial number
-debug Turn debug output on
Feature added here : PR
(only on "certipy req" for now but can be applied to anything including forge)
Hello. Certipy already has built-in functionality to reexport a PFX file without a password. See the certipy cert
command. I'll definitely have this option in mind though.
@ly4k I think he wanted to specify a password, since it is forced without a password as of now