Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

AWS + ECS + docker + linux + aspnetcore + ssl = System.Security.Authentication.AuthenticationException

$
0
0

Experiencing the following problem when communicating via ssl to a aspnet.core 1.1 application hosted with kestrel in a linux container (amazonlinux:2017.03) on AWS EC2 Container Service.

---> (Inner Exception #0) System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. 

---> Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL. 

---> Interop+Crypto+OpenSslCryptographicException: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac

The service starts and runs without any problems for some hours. After some time the exception above starts to occur and then it keeps coming until the service is taken down by the loadbalancer (after consecutive unhealthy healthchecks) and restarted.

Any ideas on whats causing this error appreciated.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>