Method SSL.Context()->set_trusted_issuers()
- Method set_trusted_issuers
void
set_trusted_issuers(array
(array
(string(8bit)
))issuers
)- Description
Sets the list of trusted certificate issuers.
- Parameter
issuers
An array of certificate chains whose root is self signed (ie a root issuer), and whose final certificate is an issuer that we trust. The root of the certificate should be first certificate in the chain. The string is a DER-encoded certificate, which typically must be decoded using MIME.decode_base64 or Standards.PEM.Messages first.
If this array is left empty, and the context is set to verify certificates, a certificate chain must have a root that is self signed.