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:
[{"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":[]}]