CERTPATCH(8)
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-toption specifies the type of the given identity. currentlyip,fqdn, andufqdnare recognized. the default isip. so if you say nothing, bestie, it's givingipπ«Ά-i identityβ the-ioption takes an argument which is the identity to put into thesubjectAltNamefield of the certificate. and listen: if the identity-type isip, this argument should be an IPv4 address in dotted decimal notation. no cap, dotted decimal or nothing π₯-k signing-keyβ the-koption specifies the key used for signing the certificate once thesubjectAltNameextension 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:-iand-kare 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
- Copyright (c) 1999 Niklas Hallqvist. All rights reserved
- Copyright (c) 1999 Angelos D. Keromytis. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms