Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED

docker, mono

Solution

You can try to change the mono TLS provider.

The default TLS provider in newer mono versions is BTLS. But you can change it to the legacy TLS provider:

Try adding `MONO_TLS_PROVIDER=legacy` to your environment variables, when you are having trouble with BTLS.

Problem

Could you please help me out in troubleshooting the issue: Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED while running mono project on docker container Scenario: - Creating a custom docker image to run .net storm topology using Mono My custom docker images has : - Ubuntu 16.04 LTS - Storm 1.1.0 - zookeeper 3.4.6 - Mono 4.8.1

Original source