The REST API now supports encryption. The user needs to configure certificates for the REST API before encryption is used.