on 2022 Jun 24 11:16 AM
I plan to use user certificate in CPQ to authenticate the API calls instead of the username/password..
Please check the details below,
I have generated X509 certificate using "openssl" and self-signing it. Uploaded it in SAP CPQ for me at Setup->Certificate Management->User Certificates
Used Postman to pass the certificate and left username, password fields blank in the SOAP call "SimpleProductAdministration".
Passed "domain" value in the Header.
I am getting invalid username/password.
Please let me know the steps.
1. How to generate the mTLS certificate for testing? Is there a sample certificate for testing? or provide me with "openssl" commands to generate a self-signed certificate (mTLS Client and Server certificate)?
2. Please check the payload below and let us know if anything is missing?
3. Is header "domain" correct key to pass? Please provide the correct header ?
4. If any other steps / configuration required then please specify?
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SimpleProductAdministration xmlns="http://webcominc.com/">
<userName />
<password />
<action>ADDORUPDATE</action>
<xDoc>
<Products xmlns="">
<Product>
.......................................[product details]
</Product>
</Products>
</xDoc>
</SimpleProductAdministration>
</soap:Body>
</soap:Envelope>
Request clarification before answering.
User | Count |
---|---|
9 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.