It is currently Sun Nov 29, 2020 11:01 am
All times are UTC + 8 hours

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.

Issue with Mono package 5.18.1.0.r1

Postby chocochip » Mon Nov 18, 2019 10:56 pm

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
chocochip
 
Posts: 1
Joined: Mon Nov 18, 2019 10:46 pm

Re: Issue with Mono package 5.18.1.0.r1

Postby maartmail » Fri Nov 22, 2019 9:35 pm

I have the exact same issue. :( I would like to know how to fix this too.
maartmail
 
Posts: 22
Joined: Sat Jan 04, 2014 5:35 pm

Re: Issue with Mono package 5.18.1.0.r1

Postby eaarsand » Fri Jan 31, 2020 12:11 am

Hello.

Anyone found a fix for this problem?
eaarsand
 
Posts: 1
Joined: Wed May 23, 2018 11:48 pm

Return to Mono

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest