I want to call a Third Party API that requires a SSL certificate.

How can i use a SSL certificate for these request using SSJS or Ampscript?

  • I don't think this is feasible. The TLS handshake's done at a lower level and handled for you transparently by your AMPScript/SSJS functions. None of them allow you to provide a certificate, as far as I am aware.
    – Macca
    Commented Mar 18, 2021 at 5:47

1 Answer 1


Inside of SFMC, there is currently no way to do this. The closest is via SSJS and the script.util.httprequest function, but from all explorations I have put into this and have seen others put in, no one has been able to successfully pass a certificate through this function. All other HTTPGET/HTTPPOST functions in SSJS and AMPScript do not have any way to do this built into the functions.

Feel free to explore the Script.Util function as maybe you can find something we have not, but I would very confidently say that it is currently not possible in SFMC.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .