cloud-sdk-java icon indicating copy to clipboard operation
cloud-sdk-java copied to clipboard

Certificate is not getting passed to target system

Open ShahGaurish opened this issue 1 year ago • 3 comments

Issue Description

Important information:

  • Your code - Fetching BTP destination with authentication type "ClientCertificateAuthentication"
  • Expected outcome - should pass client certificate to target system
  • Actual outcome - certificate is not going and getting handshake exception.
  • Steps attempted to resolve the issue
  • In case of issues with any of our VDMs:
    • What happens when a request is performed directly via an HTTP client tool such as Postman?
    • In case that succeeds please provide details on the request such as URL, query parameters, header parameters, prerequisite requests (e.g. CSRF token), etc.
  • Potentially missing information (open questions you might have)

Impact / Priority

Affected development phase: Release, Production

Impact: e.g. Blocked

Timeline: e.g.

Error Message

javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_required

Project Details

  • SDK Version: <your SAP Cloud SDK version here> 4.5.0
  • Link to GitHub repo:
  • Project type, for example:
    • [x] CAP Project
    • [x] SDK Maven Archetype
    • [ ] None of the above:
  • Platform:
    • [x] Cloud Foundry
    • [x] Deploy with Confidence (Cloud Foundry)
    • [ ] None of the above:

Checklist

  • [x] Checked out the documentation and Stack Overflow
  • [x] Description provided with all relevant information
  • [ ] Exception and stack trace provided
  • [ ] Attached debug logs
  • [ ] Attached dependency tree
  • [ ] Provided Cloud SDK version & link to relevant source code

ShahGaurish avatar Aug 05 '24 15:08 ShahGaurish

Hello @ShahGaurish, We don't provide support for version 4 anymore, please upgrade to v5. Best, Charles

CharlesDuboisSAP avatar Aug 06 '24 06:08 CharlesDuboisSAP

Hi @CharlesDuboisSAP ,

Can you please suggest if this issue will be resolved after upgrading to version 5. ? Then we will plan to upgrade the SDK, as its big task.

Regards, Gaurish

ShahGaurish avatar Aug 06 '24 07:08 ShahGaurish

To resolve the issue I need the required information:

  • The stack trace
  • Debug logs

And I can only work on v5 classes since we refactored entirely our destination service classes

CharlesDuboisSAP avatar Aug 06 '24 07:08 CharlesDuboisSAP

Closing this issue due to inactivity, please feel free to re-open if otherwise.

KavithaSiva avatar Aug 23 '24 09:08 KavithaSiva