Question

Can a single file contain multiple DER encoded certificates. I have seen CA bundle file, which is in PEM format (containing multiple BEGIN and END), but is the same possible for DER encoded certs?

Was it helpful?

Solution

Of course you can concatenate multiple DER files, but the result won't be readable by any software except yours.

If you need multiple certificates in binary form for whatever reason, there exists PKCS#7 format in which you can store multiple certificates without private keys. Then you can use PKCS#12 for storing multiple certificates, encrypted and optionally with private keys.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top