# Https webservice communication (SAP) with Kerberos x.509 certificate

**URL:** <https://discourse.nodered.org/t/https-webservice-communication-sap-with-kerberos-x-509-certificate/46970>\
**Category:** General\
**Created:** [10 June 2021 09:33 UTC](https://discourse.nodered.org/t/https-webservice-communication-sap-with-kerberos-x-509-certificate/46970 "2021-06-10T09:33:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riesenbaer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/riesenbaer/32/43147_2.png) [@riesenbaer](https://discourse.nodered.org/u/riesenbaer)\
**Post date:** [10 June 2021 09:33 UTC](https://discourse.nodered.org/t/https-webservice-communication-sap-with-kerberos-x-509-certificate/46970/1 "2021-06-10T09:33:56Z")

</div>

Hello,

we communicate with a SAP system via  
https-node  
providing an XML file to the node, basic authentication with user and password and getting the result.  
everything works very good and stable.

BUT now our security officer asks for a stronger authentication.  
We need kerberos x.509 authentication for the SAP user.

Is it possible to do this in node-red?

Thank you very much,  
Riesenbaer

example:

```auto
[{"id":"20475821.e7ba58","type":"inject","z":"a40d986c.443818","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1020,"y":740,"wires":[["6beb5626.df8638"]]},{"id":"6beb5626.df8638","type":"function","z":"a40d986c.443818","name":"sap request erzeugen","func":"msg.payload=`\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:urn=\"urn:sap-com:document:sap:soap:functions:mc-style\">\n <soapenv:Header/>\n <soapenv:Body>\n <urn:OrdersRead>\n <TResult>\n <item>\n <Aufnr></Aufnr>\n </item>\n </TResult>\n <TSelect>\n <item>\n <Werks>`+msg.payload.Werk+`</Werks>\n </item>\n </TSelect>\n </urn:_-sie_-adZpxMesngOrdersRead>\n </soapenv:Body>\n</soapenv:Envelope>\n`\nmsg.headers = {};\nmsg.headers['content-type'] = 'text/xml';\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1220,"y":740,"wires":[["b167cbf5.e658a8"]]},{"id":"b167cbf5.e658a8","type":"https-node","z":"a40d986c.443818","name":"","method":"POST","ret":"txt","url":"https://OURSAP.com:443/sap/orders_read?sap-client=1","authorized":false,"agent":false,"x":1430,"y":740,"wires":[["7fbb3f4a.efe4a"]]},{"id":"7fbb3f4a.efe4a","type":"debug","z":"a40d986c.443818","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","statusVal":"","statusType":"auto","x":1630,"y":740,"wires":[]}]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 August 2021 09:34 UTC](https://discourse.nodered.org/t/https-webservice-communication-sap-with-kerberos-x-509-certificate/46970/2 "2021-08-09T09:34:26Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
