I have read many posts related to the intermediate CA certificates and I do hope my question is not a duplication.
Where do TLS clients fetch intermediate CA certificates from?
In SSL server handshake, does server also send CA certificate
If I implement a TLS client via code, how should it validate intermediate CA certificates? According to my understanding, there are 2 options:
Import (manually) all intermediate CA certificates into a trust store of the TLS client. This should be once (and not per each TLS connection). Of course, it will be required to import CA certificates each time these certificates are renewed.
Implement Authority Information Access extension (similar as browsers implement it).
Are my options correct? Do I have any other options?