addCaPem

Append an additional trusted Certificate Authority (CA) in PEM format.

Use this when your server is signed by a private/internal CA not present in the default trust store.

Return

This builder for chaining.

Parameters

pem

String containing a single PEM-encoded certificate (including -----BEGIN CERTIFICATE----- / -----END CERTIFICATE-----).