· Jul 28, 2017

Best way to determine if SMP is used with https


we´re looking for a way to determine, if the System Management Portal (SMP) is only accessible through ssl/tls -> https. One of our applications send daily reports via email and places some dynamically created links within it. The application runs on the instance being monitorred (Ensemble-Productions).

Since we migrate some of our customers systems to use https for the SMP connection, we need to generate those links with https:// instead of http://. Our application is characterized as kind of a lib so we use it for many of our clients systems.

Is there a safe way to programmitically determine if the system which runs our tool is only accessible (at least the SMP) by https. Our first idea was to lookup an exisiting, activated SSL/TLS configuration named '%SuperServer' but this tends to be not to be what we exactly need.

What about examine the current webservers (standalone CSP-Gateway, built-in CSP Gateway) config. At least there the use of SSL/TLS for connections is defined.

Any suggestions would be appreciated.

best regards,


Discussion (4)2
Log in or sign up to continue

Hi Sebastian,

How do you currently determine SMP URL? Usually web server configuration is external to Cache, so there are not many options except asking user to enter SMP URL manually. That's what InterSystems is doing when connecting from external tools like Studio as well. 

Any attempt to be smart about it will sooner or later cause you problems with exotic setups like load balancers, external web servers on separate machines, etc etc