Bug 53052 - cert-sync error/missing dll to your distribution/mono package source in ARM
Summary: cert-sync error/missing dll to your distribution/mono package source in ARM
Status: RESOLVED FIXED
Alias: None
Product: Installers
Classification: Mono
Component: General ()
Version: 4.8.0 (C9)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Rodrigo Kumpera
URL:
Depends on:
Blocks:
 
Reported: 2017-03-04 10:30 UTC by pmmsoares
Modified: 2017-05-16 11:52 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description pmmsoares 2017-03-04 10:30:57 UTC
Hello, i'm not very tech savvy but i'm running a aplication made in mono and cant use the full potencial because theres lack of cert-sync for arm (pi).

I get all the time a infinite list of warnings but this is what it looks like:

Warning: Could not import C=US, O=Wells Fargo WellsSecure, OU=Wells Fargo Bank NA, CN=WellsSecure Public Root Certificate Authority
System.DllNotFoundException: /usr/lib/../lib/libmono-btls-shared.so
  at (wrapper managed-to-native) Mono.Btls.MonoBtlsX509:mono_btls_x509_from_data (intptr,int,Mono.Btls.MonoBtlsX509Format)
  at Mono.Btls.MonoBtlsX509.LoadFromData (System.Byte[] buffer, Mono.Btls.MonoBtlsX509Format format) [0x0002a] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetNativeInstance (System.Security.Cryptography.X509Certificates.X509CertificateImpl impl) [0x00025] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetSubjectNameHash (System.Security.Cryptography.X509Certificates.X509CertificateImpl impl) [0x00000] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetSubjectNameHash (System.Security.Cryptography.X509Certificates.X509Certificate certificate) [0x00006] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at Mono.Security.X509.X509Store.ImportNewFormat (Mono.Security.X509.X509Certificate certificate) [0x0000c] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Security.X509.X509Store.Import (Mono.Security.X509.X509Certificate certificate) [0x00019] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Tools.CertSync.ImportToStore (Mono.Security.X509.X509CertificateCollection roots, Mono.Security.X509.X509Store store) [0x00054] in <e14d5123bc22484f8e0510200156fa93>:0
Warning: Could not import C=CN, O=WoSign CA Limited, CN=CA 沃通根证书
System.DllNotFoundException: /usr/lib/../lib/libmono-btls-shared.so
  at (wrapper managed-to-native) Mono.Btls.MonoBtlsX509:mono_btls_x509_from_data (intptr,int,Mono.Btls.MonoBtlsX509Format)
  at Mono.Btls.MonoBtlsX509.LoadFromData (System.Byte[] buffer, Mono.Btls.MonoBtlsX509Format format) [0x0002a] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetNativeInstance (System.Security.Cryptography.X509Certificates.X509CertificateImpl impl) [0x00025] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetSubjectNameHash (System.Security.Cryptography.X509Certificates.X509CertificateImpl impl) [0x00000] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetSubjectNameHash (System.Security.Cryptography.X509Certificates.X509Certificate certificate) [0x00006] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at Mono.Security.X509.X509Store.ImportNewFormat (Mono.Security.X509.X509Certificate certificate) [0x0000c] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Security.X509.X509Store.Import (Mono.Security.X509.X509Certificate certificate) [0x00019] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Tools.CertSync.ImportToStore (Mono.Security.X509.X509CertificateCollection roots, Mono.Security.X509.X509Store store) [0x00054] in <e14d5123bc22484f8e0510200156fa93>:0
Warning: Could not import C=CN, O=WoSign CA Limited, CN=Certification Authority of WoSign
System.DllNotFoundException: /usr/lib/../lib/libmono-btls-shared.so
  at (wrapper managed-to-native) Mono.Btls.MonoBtlsX509:mono_btls_x509_from_data (intptr,int,Mono.Btls.MonoBtlsX509Format)
  at Mono.Btls.MonoBtlsX509.LoadFromData (System.Byte[] buffer, Mono.Btls.MonoBtlsX509Format format) [0x0002a] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetNativeInstance (System.Security.Cryptography.X509Certificates.X509CertificateImpl impl) [0x00025] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetSubjectNameHash (System.Security.Cryptography.X509Certificates.X509CertificateImpl impl) [0x00000] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetSubjectNameHash (System.Security.Cryptography.X509Certificates.X509Certificate certificate) [0x00006] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at Mono.Security.X509.X509Store.ImportNewFormat (Mono.Security.X509.X509Certificate certificate) [0x0000c] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Security.X509.X509Store.Import (Mono.Security.X509.X509Certificate certificate) [0x00019] in <59bcb3a41e31492f91d9513566444e88>:0


This is just a fragment. While discussing this in GitHub ( https://github.com/Jackett/Jackett/issues/1113#event-985813043 ) the developer suggested a report. I don't know if i'm doing it right but i hope so. Thanks
Comment 1 botella.arnaud 2017-03-04 11:38:52 UTC
Same issue than here: https://bugzilla.xamarin.com/show_bug.cgi?id=53015
Comment 2 Till Maurer 2017-03-23 09:13:38 UTC
I'm having the same issue on Raspberry PI. I installed mono-complete by following the instructions here:
http://www.mono-project.com/docs/getting-started/install/linux/

System.DllNotFoundException: /usr/lib/../lib/libmono-btls-shared.so
  at (wrapper managed-to-native) Mono.Btls.MonoBtlsX509:mono_btls_x509_from_data (intptr,int,Mono.Btls.MonoBtlsX509Format)
  at Mono.Btls.MonoBtlsX509.LoadFromData (System.Byte[] buffer, Mono.Btls.MonoBtlsX509Format format) [0x0002a] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetNativeInstance (System.Security.Cryptography.X509Certificates.X509CertificateImpl impl) [0x00025] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetSubjectNameHash (System.Security.Cryptography.X509Certificates.X509CertificateImpl impl) [0x00000] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at System.Security.Cryptography.X509Certificates.X509Helper2.GetSubjectNameHash (System.Security.Cryptography.X509Certificates.X509Certificate certificate) [0x00006] in <5641e4edad4f4464ba58c620a7b8ea48>:0
  at Mono.Security.X509.X509Store.ImportNewFormat (Mono.Security.X509.X509Certificate certificate) [0x0000c] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Security.X509.X509Store.Import (Mono.Security.X509.X509Certificate certificate) [0x00019] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Tools.CertSync.ImportToStore (Mono.Security.X509.X509CertificateCollection roots, Mono.Security.X509.X509Store store) [0x00054] in <e14d5123bc22484f8e0510200156fa93>:0
Warning: Could not import C=US, S=Indiana, L=Indianapolis, O=Software in the Public Interest, OU=hostmaster, CN=Certificate Authority, E=hostmaster@spi-inc.org
Comment 3 Jo Shields 2017-05-16 11:52:56 UTC
This was fixed in fb4d198131e9cf1048b296d4643f149089af54d7 - try updating to 5.0+