You are here

Problems with mono

1 post / 0 new
jcjdammers
Offline
Donator
Joined: 1 year
Last seen: 1 week
Problems with mono

Hi,

I am using a Synology NAS.
I have updated the mono package to version v5.20.1.34-15.
Hopefully somebody can help me with the following problem, your help is very much appreciated.

Now when I am running Webgrabplus then I get the following errors:

error downloading page: Error: SecureChannelFailure (Authentication failed, see inner exception.)

I have tried to fix it with:
/var/packages/mono/target/bin/cert-sync /etc/ssl/certs/ca-certificates.crt

But that gives me the following exception:

root@DiskStation:~# /var/packages/mono/target/bin/cert-sync /etc/ssl/certs/ca-certificates.crt
Mono Certificate Store Sync - version 5.20.1.34
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 171, your new list has 173
Warning: Could not import C=IL, O=StartCom Ltd., OU=Secure Digital Certificate Signing, CN=StartCom Certification Authority
System.Security.Cryptography.CryptographicException: Unable to decode certificate. ---> System.DllNotFoundException: /volume1/@appstore/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 :0
at Mono.Btls.X509CertificateImplBtls.Import (System.Byte[] data) [0x0001c] in :0
at Mono.Btls.X509CertificateImplBtls.Import (System.Byte[] data, Microsoft.Win32.SafeHandles.SafePasswordHandle password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) [0x00012] in :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 :0
at Mono.Btls.MonoBtlsProvider.GetNativeCertificate (System.Byte[] data, Microsoft.Win32.SafeHandles.SafePasswordHandle password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags flags) [0x00006] in :0
at Mono.Btls.X509PalImplBtls.Import (System.Byte[] data) [0x00006] in :0
at Mono.SystemCertificateProvider.Import (System.Byte[] data, Mono.CertificateImportFlags importFlags) [0x00016] in :0
at System.Security.Cryptography.X509Certificates.X509Helper.Import (System.Byte[] rawData) [0x00005] in <4a89e81f3d9644e6a5d556824ae3eaf1>:0
at System.Security.Cryptography.X509Certificates.X509Certificate..ctor (System.Byte[] data) [0x00023] in <4a89e81f3d9644e6a5d556824ae3eaf1>:0
at Mono.Security.X509.X509Store.ImportNewFormat (Mono.Security.X509.X509Certificate certificate) [0x00006] in <0a5b7d3822b84f2a96c7f10697a24fe9>:0
at Mono.Security.X509.X509Store.Import (Mono.Security.X509.X509Certificate certificate) [0x00016] in <0a5b7d3822b84f2a96c7f10697a24fe9>:0
at Mono.Tools.CertSync.ImportToStore (Mono.Security.X509.X509CertificateCollection roots, Mono.Security.X509.X509Store store) [0x00050] in :0
Warning: Could not import C=US, O="VeriSign, Inc.", OU=Class 3 Public Primary Certification Authority
System.Security.Cryptography.CryptographicException: Unable to decode certificate. ---> System.DllNotFoundException: /volume1/@appstore/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 :0
at Mono.Btls.X509CertificateImplBtls.Import (System.Byte[] data) [0x0001c] in :0
at Mono.Btls.X509CertificateImplBtls.Import (System.Byte[] data, Microsoft.Win32.SafeHandles.SafePasswordHandle password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) [0x00012] in :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 :0
at Mono.Btls.MonoBtlsProvider.GetNativeCertificate (System.Byte[] data, Microsoft.Win32.SafeHandles.SafePasswordHandle password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags flags) [0x00006] in :0
at Mono.Btls.X509PalImplBtls.Import (System.Byte[] data) [0x00006] in :0
at Mono.SystemCertificateProvider.Import (System.Byte[] data, Mono.CertificateImportFlags importFlags) [0x00016] in :0
at System.Security.Cryptography.X509Certificates.X509Helper.Import (System.Byte[] rawData) [0x00005] in <4a89e81f3d9644e6a5d556824ae3eaf1>:0
at System.Security.Cryptography.X509Certificates.X509Certificate..ctor (System.Byte[] data) [0x00023] in <4a89e81f3d9644e6a5d556824ae3eaf1>:0
at Mono.Security.X509.X509Store.ImportNewFormat (Mono.Security.X509.X509Certificate certificate) [0x00006] in <0a5b7d3822b84f2a96c7f10697a24fe9>:0
at Mono.Security.X509.X509Store.Import (Mono.Security.X509.X509Certificate certificate) [0x00016] in <0a5b7d3822b84f2a96c7f10697a24fe9>:0
at Mono.Tools.CertSync.ImportToStore (Mono.Security.X509.X509CertificateCollection roots, Mono.Security.X509.X509Store store) [0x00050] in :0
Import process completed.

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl