Issue with Mono package 5.18.1.0.r1

Mono is a software platform designed to allow developers to easily create cross platform applications. Sponsored by Xamarin, Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become the leading choice for development of Linux applications.

Moderator: Lillian.W@AST

Post Reply
chocochip
Posts: 1
youtube meble na wymiar Warszawa
Joined: Mon Nov 18, 2019 10:46 pm

Issue with Mono package 5.18.1.0.r1

Post by chocochip »

Hi,

Mono fails to import certificate into BTLS system store which I believe is causing issues in other apps like duplicati (no update / backup to cloud not working due to SSL issues)

I tried to rollback to the Beta version (5.8.1.0.r9) but with no success (it gets updated to 5.18.1.0.r1 whenever i install duplicati)

I created a ticket support.asustor.com... let's see what happends.

Has anyone found a solution to this issue ?

Thanks

Code: Select all

$ sudo /usr/local/bin/cert-sync /etc/ssl/certs/ca-certificates.crt | more
Password:
Mono Certificate Store Sync - version 5.18.1.0
Populate Mono certificate store from a concatenated list of certificates.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

Importing into legacy system store:
I already trust 173, your new list has 173
Import process completed.

Importing into BTLS system store:
I already trust 0, your new list has 173
Warning: Could not import CN=ACEDICOM Root, OU=PKI, O=EDICOM, C=ES
System.Security.Cryptography.CryptographicException: Unable to decode certificate. ---> System.DllNotFoundException: /volume1/.@plugins/AppCentral/mono/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) [0x00028] in <bba0a08ada624b4ab321b16f1ab63354>:0
  at Mono.Btls.X509CertificateImplBtls.Import (System.Byte[] data) [0x0001c] in <bba0a08ada624b4ab321b16f1ab63354>:0
  at Mono.Btls.X509CertificateImplBtls.Import (System.Byte[] data, Microsoft.Win32.SafeHandles.SafePasswordHandle password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) [0x00012] in <bba0a08ada624b4ab321b16f1ab63354>:0
   --- End of inner exception stack trace ---
  at Mono.Btls.X509CertificateImplBtls.Import (System.Byte[] data, Microsoft.Win32.SafeHandles.SafePasswordHandle password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) [0x00037] in <bba0a08ada624b4ab321b16f1ab63354>:0
  at Mono.Btls.MonoBtlsProvider.GetNativeCertificate (System.Byte[] data, Microsoft.Win32.SafeHandles.SafePasswordHandle password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags flags) [0x00006] in <bba0a08ada624b4ab321b16f1ab63354>:0
  at Mono.Btls.X509PalImplBtls.Import (System.Byte[] data) [0x00006] in <bba0a08ada624b4ab321b16f1ab63354>:0
  at Mono.SystemCertificateProvider.Import (System.Byte[] data, Mono.CertificateImportFlags importFlags) [0x00016] in <bba0a08ada624b4ab321b16f1ab63354>:0
  at System.Security.Cryptography.X509Certificates.X509Helper.Import (System.Byte[] rawData) [0x00005] in <e784d6ba84134439b309925a5d71441d>:0
  at System.Security.Cryptography.X509Certificates.X509Certificate..ctor (System.Byte[] data) [0x00023] in <e784d6ba84134439b309925a5d71441d>:0
  at Mono.Security.X509.X509Store.ImportNewFormat (Mono.Security.X509.X509Certificate certificate) [0x00006] in <9733ffc2e71d40d99a9fc52d0d6ce288>:0
  at Mono.Security.X509.X509Store.Import (Mono.Security.X509.X509Certificate certificate) [0x00016] in <9733ffc2e71d40d99a9fc52d0d6ce288>:0
  at Mono.Tools.CertSync.ImportToStore (Mono.Security.X509.X509CertificateCollection roots, Mono.Security.X509.X509Store store) [0x00050] in <3eb32420fd0b4862a1d21dce0e38b377>:0
maartmail
Posts: 22
Joined: Sat Jan 04, 2014 5:35 pm

Re: Issue with Mono package 5.18.1.0.r1

Post by maartmail »

I have the exact same issue. :( I would like to know how to fix this too.
eaarsand
Posts: 1
Joined: Wed May 23, 2018 11:48 pm

Re: Issue with Mono package 5.18.1.0.r1

Post by eaarsand »

Hello.

Anyone found a fix for this problem?
Post Reply

Return to “Mono”