Skip to main content
Legend
June 14, 2022
Question

Attaching a certificate to a CFHTTP request

  • June 14, 2022
  • 2 replies
  • 271 views

A part of a Google pay implementation we need to attach a certificate .PEM file and key to a CFHTTP request. It seems some envoronments like Node can do a HTTP POST and specifiy such files. Is this possible in CFML? Unless we do a CFHTTP POST with a specific .PEM file, the request is rejected. Help appreciated.

    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    June 17, 2022

    Hi @tribule ,

    What about using a cfhttpparam tag with type="file"? In any case, if you shared the Node.js code, we could try to translate it into CFML. 🙂

    tribuleAuthor
    Legend
    June 14, 2022

    CLIENTCERT attribute of CHTTP seems the only way?