STRONGSWAN_PKI---DN(1)

πŸ“¦
version 6.0.7 Β· 4 versions
, in fedora 43, fedora 44

✨ NAME ✨

okay so bestie, welcome to the strongSwan manual for pki --dn β€” the page that literally has --DN in its title. πŸ’–

pki --dn β€” extract the subject DN of an X.509 certificate. That's it, that's the whole job. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

pki --dn [--in file] [--format format] [--debug level]

pki --dn --options file

pki --dn -h | --help

πŸ’… DESCRIPTION πŸ’…

This sub-command of pki(1) is the one that extracts the ASN.1-encoded subject DistinguishedName (DN) of an X.509 certificate and exports it in different formats. No cap. ✨

It's lowkey useful when strongSwan's identity parser is unable to produce the correct binary encoding from a string. So if the parser is giving πŸ’€, this is your girl. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” Print usage information with a summary of the available options. The classic "help me bestie" button. πŸ™ˆ
  • -v, --debug _level_ β€” Set debug level, default: 1. Turn the yapping up or down. πŸ”Š
  • -+, --options _file_ β€” Read command line options from _file_. Yes, that's a literal -+, iconic. πŸ’…
  • -i, --in _file_ β€” Input file. If not given the input is read from STDIN. So pipe it in, bestie. 🌈
  • -t, --format _format_ β€” Output format. One of config (strongSwan configuration compatible), hex (hexadecimal encoding, no prefix), base64 (Base64 encoding, no prefix), bin (raw binary data), defaults to config. Pick your vibe. πŸŽ€

🌈 SEE ALSO 🌈

  • pki(1) β€” the main character manual. Go read it, iykyk. πŸ‘‘

okay that's the whole page, periodt. This manual is from strongSwan 6.0.7, dated 2015-08-06. Stay slay, bestie. πŸ’œπŸ¦‹

πŸ“¦ where this page comes from