Yes, you can specify both the intermediate and the root CA. If your cluster explicitly requires the intermediate issuer, you must update it when replacing the old intermediate CA. If your cluster can validate certificates using only the root issuer, then no changes may be needed.
In your case, since you're replacing the intermediate CA, you need to replace the old intermediate CA with the new intermediate CA and keep the root CA if it remains unchanged.
"ClusterCertificateIssuerStores": [
{
"IssuerCommonName": "Issuer Root CA",
"X509StoreNames": "Root CA"
},
{
"IssuerCommonName": "Issuer Int CA 2", // new intermediate CA
"X509StoreNames": "Issuing CA 2"
}
]
After updating, please restart the Service Fabric cluster and validate that all services are working correctly with the new certificate paths.
Hope this helps!
Please Let me know if you have any queries.