Ssl cert join
ssl_cert_join¶
Join two or more PEM certificate files into a single chain bundle. Each input file is validated as a PEM certificate before concatenation. Output is written to stdout or to a file with -o.
Example¶
ssl_cert_join cert.pem intermediate.pem root.pem > bundle.pem
ssl_cert_join -o bundle.pem cert.pem intermediate.pem root.pem
Arguments¶
- $1 (string): Optional: '-o
' to write output to a file - ... (string): Two or more PEM certificate files (order determines chain order)
Exit codes¶
- 0: Success
- 1: Missing arguments, unreadable file, or invalid PEM certificate
Output on stdout¶
- PEM chain bundle