Multiple CA Certificates

Hi,
I would like to use the BG96 modem to communicate with a MQTTS broker and with a HTTPS server.
According with the Quectel_BG96_SSL_Application_Note_V1.1 I have configurated the SSL context with the following commands:
-) AT+QSSLCFG=“cacert”,2,“cacert.pem”
-) AT+QSSLCFG=“clientcert”,2,“client.pem”
-) AT+QSSLCFG=“clientkey”,2,“user_key.pem”
-) AT+QSSLCFG=“seclevel”,2,2
-) AT+QSSLCFG=“sslversion”,2,4
-) AT+QSSLCFG=“ciphersuite”,2,0XFFFF
-) AT+QSSLCFG=“ignorelocaltime”,1
-) AT+QMTCFG=“SSL”,0,1,2
-) AT+QHTTPCFG=“sslctxid”,2
Since I have to use two different ROOT CA for the MQTT Broker (IoT Hub) and the HTTPS Server, could I combine the two certificates into a single cacert.pem file?
For example:
-----BEGIN CERTIFICATE-----
Certificate 1 data…
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
Certificate 2 data…
-----END CERTIFICATE-----

Many Thanks,
Armando

They are two different service, one is mqtt protocol , the other is http protocol ,

pls Use two sslctxids, mqtt and HTTP, to load their respective certificates