You should be able to use the “Secured REST URI” found under your service connect tab under “View by: Protocol” → REST.
That URI is https. Since our certificates are currently issued by DigiCert it will already be in many truststores, but keep in mind you may need to download the pem file (as seen in the image in my previous post) and add it to your truststore if it’s not already trusted.
This worked for me with my free dev service using curl without having to add anything to my truststore.
curl -X POST -d "Hello World REST" https://<HOST>:<PORT>/T/rest/pubsub -H "content-type: text" -u solace-cloud-client:<password>