on 10-06-2022 11:57 AM
Hello,
we are currently struggling with the requirement to call an external service secured via Basic Authentication that uses a self signed HTTPS certificate.
As that should happen from the browser, we created a destination like this:
and after the user enters his/her credentials on the UI, we send such an ajax request from our UI5 application:
$.ajax({
url: serverPrefix+ "/<some-path>",
type: "GET",
contentType: "application/json; charset=utf-8",
dataType: "json",
crossDomain: true,
headers: {
"Authorization": "Basic " + window.btoa(sUsername + ":" + sPassword)
}
})
We know that "TrustAll=true" should not be used but we tried to upload a truststore (.jks as well as .p12) but could not even upload such a file:
But the ajax request fails even with TrustAll=true, and if we look into the Error log of the managed approuter, we see that the approuter fails:
GET request to /e0aad355-cce8-43fc-b695-000000000000.some.thing/~051022125238+0000~/service/<some-path>?activeonly=true
completed with status 502 error while forwarding request to https://<server>/api/<some-path>?activeonly=true:
self signed certificate in certificate chain
So our questions are:
Thanks in advance,
Martin
User | Count |
---|---|
75 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.