Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Attaching a certificate to a CFHTTP request

Enthusiast ,
Jun 14, 2022 Jun 14, 2022

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.

238
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 14, 2022 Jun 14, 2022

CLIENTCERT attribute of CHTTP seems the only way?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 17, 2022 Jun 17, 2022
LATEST

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. 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources