# XML Digital Signature

**URL:** <https://community.postman.com/t/xml-digital-signature/26802>\
**Category:** Help Hub\
**Created:** [August 16, 2021, 9:23pm UTC](https://community.postman.com/t/xml-digital-signature/26802 "2021-08-16T21:23:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spaceflight-enginee2](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@spaceflight-enginee2](https://community.postman.com/u/spaceflight-enginee2)\
**Post date:** [August 16, 2021, 9:23pm UTC](https://community.postman.com/t/xml-digital-signature/26802/1 "2021-08-16T21:23:58Z")

</div>

_My question_:  
Hi community,

I hope you can help me. I have the following situation. I try to call a XML interface from a customer. To make a proper call I have to use a private certificate and server certificate. Additionally I have to sign the xml request (xmldsign) before I send it to the customer.

Do you have any advice how to do it best with postman? Is there a built in functionality which I miss? Or is there an option to do it via the pre-requist script and js code?

Or is there no option to sign the xml request in postman?

Looking forward to your help.

Many thanks in advance already.

BR  
Alex

PS: Sorry if I’m violating the rules how to describe my problem best. If I missed something please let me know.

---

<div class="post-metadata">

**Author:** ![research-participan8](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@research-participan8](https://community.postman.com/u/research-participan8)\
**Post date:** [June 5, 2023, 1:50pm UTC](https://community.postman.com/t/xml-digital-signature/26802/2 "2023-06-05T13:50:21Z")

</div>

Hi Mr. Spaceflight,

I’m facing the same problem here.

I’m looking into pre-request scripts, so I can write some JS code to sign the xml before Postman actually sends it to the provided endpoint.  
Haven’t figured it out yet, but I’ll try to remember to post it here if it ends up working…

Good luck!

---

<div class="post-metadata">

**Author:** ![Bharaths](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@Bharaths](https://community.postman.com/u/Bharaths)\
**Post date:** [March 30, 2024, 12:27pm UTC](https://community.postman.com/t/xml-digital-signature/26802/3 "2024-03-30T12:27:16Z")

</div>

Hi Vinicius,

Any luck on this?
