Thank you so much for your help! I solved my issue by formatting my .pem file like so:
-----BEGIN CERTIFICATE-----
CERT Body
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
CABUNDLE Body 1
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
CABUNDLE Body 2
-----END CERTIFICATE-----
...
-----BEGIN CERTIFICATE-----
CABUNDLE Body n
-----END CERTIFICATE-----