Is it possible to pass parameters to the underlying openssl lib?

I have a use case where I have an inhouse intermediate CA issuing and signing all kafka keypairs for our mTLS setup.

I need to be able to validate a certificate using the CA certificate of the intermediate CA alone.

With openssl that can be achieved using the -partial_chain flag. I am using python confluent-kafka 2.0.2. Is there anyway to pass that configuration from python down to librdkafka and in turn to the underlying ssl lib?

Thanks!