[Mono-dev] Use TLS1.2 on CentOS? Mono4.8+ (Mono-devel-list Digest, Vol 146, Issue 17)

camus f60135 at mvrht.net
Tue Jun 13 19:52:44 UTC 2017


Jo Shields wrote
> On 12/06/17 21:19, trollanderson wrote:
>> Hi,
>>
>> I'm trying to use Mono to consume a webservice, however I'm getting error
>> messages like "No such TLS Provider" and "TLS Support not available" ...
>> I have already tested with version 4.8 and 5.0 of mono, but I can not
>> enable
>> TLS1.2 usage in CentOS 6.8 / 6.9
>>
>> I also did the following test: MONO_TLS_PROVIDER = btls csharp -e 'new
>> System.Net.WebClient () .DownloadString ("https://www.howsmyssl.com/")' |
>> Grep "TLS 1.2"
>>
>> Same mistake...
> 
> We don't have any packages for Mono 4.8 which are compatible with CentOS 
> 6, so you'll have to ask whomever supplied those packages about the 
> specifics of the build.
> 
> mono-project.com 5.0+ packages are built without BTLS enabled on CentOS 
> 6, as it lacks a compiler which can compile the BTLS library.
> _______________________________________________
> Mono-devel-list mailing list

> Mono-devel-list at .dot

> http://lists.dot.net/mailman/listinfo/mono-devel-list


Thank you so much for the answer!

If I install a compiler capable of compiling BTLS (gcc 4.8+ or clang 3.3+ or
CMake 2.8.10+), can I even download the Mono from the source
(https://download.mono-project.com/sources/mono /) And compile it? Or do I
still need some specific procedure for btls?




--
View this message in context: http://mono.1490590.n4.nabble.com/Use-TLS1-2-on-CentOS-Mono4-8-tp4670899p4670913.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list