e2ee_public_key

Specify the file containing the server's PEM-encoded public key for end-to-end encryption.

Syntax
e2ee_public_key=file 
Protocols

TCPIP, TLS, HTTP, HTTPS

Default

None

Remarks

The key type must match the type specified in the e2ee_type parameter.

This option is required for end-to-end encryption to take effect.

End-to-end encryption can also be used the with TLS/HTTPS protocol option fips. This option is not supported when using ECC. See fips.

See also
Example

The following example shows end-to-end encryption for an UltraLite client:

info.stream = "https";
info.stream_parms = 
"tls_type=rsa;trusted_certificates=rsaroot.crt;e2ee_type=rsa;e2ee_public_key=rsapublic.pem"