Enabled Enhanced Security and REST API via cURL returns "(35) SSL Connect error"

I have been playing with REST API against the BESServer via Curl, but am not unable to get any data back since enabling Enhanced Security. Makes sense, but I am not able to use the -k flag to ignore or able to use the -E flag with path to .PEM key specified to alleviate the issue either. It does not prompt for “optional password” when I specify the PEM path. Is REST supported in Enhanced Security? Anyone with similar experience and/or info to overcome?

…aaaaaand I had to explicitly specify tls1.2 in the curl statement

curl --tlsv1.2 <the_rest>
2 Likes