Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self signed certificate issue (The remote certificate is invalid because of errors in the certificate chain) #1785

Closed
giacomorebonato opened this issue Jan 31, 2021 · 4 comments
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information. module/sdk-custom response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@giacomorebonato
Copy link

The Question

Hi, I am reporting an issue that I am struggling to solve, I hope that someone can point me out the right direction.

Environment

  • SDK Version: 3.5.2
  • Package Version: 3.5.2.5
  • OS Info: public.ecr.aws/lambda/dotnet:5.0 on Docker
  • Build Environment: dotnet cli
  • Targeted .NET Platform: 5.0

I have a dotnet Lambda handler that writes to DynamoDB and reads/writes files from/to S3.
Everything works out perfectly at first, but then there is another thing that I need: Matlab Runtime.
After I install the Matlab runtime it asks me to append values to LD_LIBRARY_PATH.
This action breaks SSL connection to both DynamoDB and S3:

INNER EXCEPTION: The remote certificate is invalid because of errors in the certificate chain: PartialChain

If I change the communication over http everything works again, but this is not acceptable.
Do you have any suggestions?

@giacomorebonato giacomorebonato added guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged. labels Jan 31, 2021
@ashishdhingra
Copy link
Contributor

Hi @giacomorebonato,

Thanks for reporting the issue. This appears to be an issue with 3rd party runtime which after installing is having certificate issues. Have you tried contacting MatLab Runtime support? There was similar issue reported in Microsoft's .NET repository dotnet/runtime#27703 (comment), not sure if it might help.

Also, could you provide the exact repro steps in the following format:

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • AWSSDK.Core version used:
  • Service assembly and version used:
  • Operating System and version:
  • Visual Studio version:
  • Targeted .NET platform:

.NET Core Info

  • .NET Core version used for development:
  • .NET Core version installed in the environment where application runs:
  • Output of dotnet --info:
  • Contents of project.json/project.csproj:

Thanks,
Ashish

@ashishdhingra ashishdhingra added module/sdk-custom response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed needs-triage This issue or PR still needs to be triaged. labels Feb 1, 2021
@github-actions
Copy link

This issue has not recieved a response in 2 weeks. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Feb 16, 2021
@giacomorebonato
Copy link
Author

Hi, it wasn't an issue with this SDK of course.
Here's the solution that I have found: https://stackoverflow.com/questions/65961176/ssl-broken-with-ld-library-path-and-matlab

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information. module/sdk-custom response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants