CERTPATCH(8)

πŸ“¦ in ubuntu jammy

CERTPATCH β€” the section 8 glow-up ✨

okay bestie, welcome to CERTPATCH(8), straight outta the System Manager's Manual πŸ’– this one is lowkey a lil legend and it does exactly one thing but it does it so well.


NAME πŸŽ€

certpatch β€” add subjectAltName identities to X.509 certificates

like. that's the whole personality. it patches certs. iconic behavior.


SYNOPSIS πŸ¦‹

certpatch [-t identity-type] -i identity -k signing-key
          input-certificate output-certificate

see how it eats? two files in, one patched cert out, no notes πŸ’…


DESCRIPTION 🌸

so here's the vibe. certpatch alters PEM-encoded X.509 certificates by adding a subjectAltName extension containing an identity used by the signature-based authentication schemes of the ISAKMP protocol. that's the main character move right there.

and then β€” because you can't just edit a cert and dip πŸ™ˆ β€” after the addition the certificate will be signed once again with the supplied CA signing key. new extension, fresh signature, whole new era. periodt.

the options are as follows ✨

  • -t identity-type β€” if given, the -t option specifies the type of the given identity. currently ip, fqdn, and ufqdn are recognized. the default is ip. so if you say nothing, bestie, it's giving ip 🫢
  • -i identity β€” the -i option takes an argument which is the identity to put into the subjectAltName field of the certificate. and listen: if the identity-type is ip, this argument should be an IPv4 address in dotted decimal notation. no cap, dotted decimal or nothing πŸ”₯
  • -k signing-key β€” the -k option specifies the key used for signing the certificate once the subjectAltName extension has been added. the key is specified by the filename where it is stored in PEM format. PEM or it's not happening, that's the rule πŸŽ€
real talk: -i and -k are not vibes-based. you need an identity and you need a signing key, otherwise there's nothing to sign with and the whole thing falls apart 😭

SEE ALSO πŸ’œ

go read those next, they're the extended universe 🧚


mwah β€” this page came to you from Debian, dated July 18, 1999, and yes it's still slaying in CERTPATCH(8). love that for us πŸ’–βœ¨

πŸ“¦ where this page comes from
  • ubuntu jammy: isakmpd 20041012-10build1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms