Adds a Certificate Authority (CA) certificate to a Transport Layer Security (TLS) configuration and marks the certificate as trusted.


icon

Inputs/Outputs

  • cgnrn.png TLS configuration

    TLS configuration specifies the reference to the TLS configuration.

  • c1du8.png certificate

    certificate specifies a byte array of the Distinguished Encoding Rules (DER) certificate. If the certificate is not for a Certificate Authority (CA), this function returns an error.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ignrn.png TLS configuration out

    TLS configuration out returns a reference to the TLS configuration with the trusted certificate you specify.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Data Communication\Protocols\TLS\TLS Client and Server with Self-Signed Server Certificate.vi