aws-lambda-dotnet icon indicating copy to clipboard operation
aws-lambda-dotnet copied to clipboard

Issues with client certificates on .NET Core 2.0

Open Danvlz opened this issue 8 years ago • 6 comments

I'm trying to connect to REST API using client certificate. On AWS Lambda with .NET Core 1.0 I can call the API, but on .NET Core 2.0 I am getting this error:

The handler does not support client authentication certificates with this combination of libcurl (7.51.0) and its SSL backend ("NSS/3.28.4") Module "System.Net.Http.CurlHandler+SslProvider", line 28, col 0, in SetSslOptionsForUnsupportedBackend Void SetSslOptionsForUnsupportedBackend(EasyRequest, ClientCertificateProvider) Module "System.Net.Http.CurlHandler+SslProvider", line 196, col 0, in SetSslOptions Void SetSslOptions(EasyRequest, System.Net.Http.ClientCertificateOption) Module "System.Net.Http.CurlHandler+EasyRequest", line 208, col 0, in InitializeCurl

Have anyone had simillar issue?

Thanks for any help, Daniel

Danvlz avatar Feb 05 '18 10:02 Danvlz

I confirm, same problem here. Haven't found any workaround.

thebogusman avatar Feb 05 '18 21:02 thebogusman

@Danvlz , are you able to replicate this outside of Lambda, on plain Amazon Linux (2017.03) or any other Linux distro? Would you be able to provide a self contained code sample that replicates this issue?

gokarnm avatar Feb 05 '18 21:02 gokarnm

This looks related to https://github.com/dotnet/corefx/issues/24232

vellozzi avatar Feb 05 '18 22:02 vellozzi

Is there any plan for AWS to fix this? It looks like this isn't an upgrade path issue, but Lambdas using NSS, as .NET Core is looking for an OpenSSL backend.

LaTtEX avatar Feb 20 '18 06:02 LaTtEX

Is this still an issue with the new .NET Core 2.1 runtime?

normj avatar Aug 07 '18 01:08 normj

Closing for lack of activity

normj avatar Sep 17 '18 02:09 normj