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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top