Add tls to the REST endpoint.
Add tls to the REST endpoint.