1 Pages (6 items)
no access to Online Gallery in Extensions Manager - Messages
#1 Posted: 9/30/2019 12:35:42 PM
Smath Studio for Mono users, please help me.
I installed SMathStudioDesktop.0_99_7030.Mono under linux but cannot use Online Gallery in Extensions Manager.
I get the error "Error: TrustFailure (Authentication failed, see inner exception)".
At the same time, no errors are displayed on the terminal from which the program is launched.
I think it's about the mono platform settings. I tried to add to the certificate store
of the platform mono certificate "smath.com" but it didn't help.
I also tried importing all certificates from Mozilla Firefox into mono,
but that didn't help either. In the store "Trust" certificate "smath.com" now present, I checked.
What other settings should I pay attention to to solve this problem?
I installed SMathStudioDesktop.0_99_7030.Mono under linux but cannot use Online Gallery in Extensions Manager.
I get the error "Error: TrustFailure (Authentication failed, see inner exception)".
At the same time, no errors are displayed on the terminal from which the program is launched.
I think it's about the mono platform settings. I tried to add to the certificate store
of the platform mono certificate "smath.com" but it didn't help.
I also tried importing all certificates from Mozilla Firefox into mono,
but that didn't help either. In the store "Trust" certificate "smath.com" now present, I checked.
What other settings should I pay attention to to solve this problem?
#2 Posted: 9/30/2019 2:18:54 PM
You can look at this tool to check if it is a certificates issue in your mono:
https://github.com/duplicati/duplicati/wiki/SSL-TLS-support-in-Mono
Also, AFAIK you have to trust the CA (certificates authority) not the website - should be let's encrypt
https://github.com/duplicati/duplicati/wiki/SSL-TLS-support-in-Mono
Also, AFAIK you have to trust the CA (certificates authority) not the website - should be let's encrypt
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 10/2/2019 7:09:38 AM
Really have a problem, but the reasons did not understand.
The error number says nothing, but the WinError.h file is not in the system.
Certificates are present. Or did I misunderstand something?
$ mono TlsTest.exe --web https://smath.com
https://smath.com
[Version]
V3
[Subject]
CN=smath.com
[Issuer]
CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US
[Serial Number]
0374894A16ECAAA9AE330F91E76C02628533
[Not Before]
26.09.2019 12:50:35
[Not After]
25.12.2019 12:50:35
[Thumbprint]
4DB2D6D86E542072F5B38A34C685EC18EDEA685A
[Signature Algorithm]
sha256RSA(1.2.840.113549.1.1.11)
[Public Key]
Algorithm: RSA
Length: 2048
Key Blob: 30 82 01 0a 02 82 01 01 00 aa ee f4 b5 e3 9e a6 ed 26 b3 b0 2a f8 a5 50 11 a9 c6 a4 ba cb 6e c3 7a 9f 03 99 74 7b c6 01 0a b9 fe a6 26 52 80 b4 80 96 a8 a0 14 8c 1b 00 4c d7 6c 79 64 f0 a3 66 db 79 96 21 e9 8b f7 45 2c 50 fd 1d aa dc f5 c6 b8 23 d1 ad 99 51 76 00 9f 2f 1e e7 23 0b cd 14 85 d4 16 f9 99 b5 b9 5c c4 a4 68 11 42 36 ac 8e 2f 1a 7b b9 13 dc 21 9a fa ca a0 24 d7 1a 3e 3b dc b7 06 f9 6a f4 04 5f 39 7e be f2 a8 dc 6b 38 f8 3d 74 20 a5 5d c1 7f d1 53 9f cd 86 c9 e3 77 dd dc f1 3c b9 10 21 98 07 02 dc b6 7f 80 23 6d 94 aa 60 06 7f 0a 6b 75 ba d6 73 fd f5 23 39 46 e3 aa b3 92 2f 51 eb 0e bd 57 96 07 bd c2 c4 84 a9 40 bb c1 5f 33 0e f2 45 2b b1 be 79 c8 3f 1e b9 46 63 56 28 95 94 c1 d8 84 e5 90 1e be e5 9c 80 56 48 d7 f8 b0 93 8d 03 54 b4 1b 74 e7 c3 89 33 0b fb 78 a1 c4 26 1e e1 02 03 01 00 01
Parameters: 05 00
Valid From: 26.09.2019 12:50:35
Valid Until: 25.12.2019 12:50:35
Error #-2146762485: unknown (try WinError.h)
[Version]
V3
[Subject]
CN=smath.com
[Issuer]
CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US
[Serial Number]
0374894A16ECAAA9AE330F91E76C02628533
[Not Before]
26.09.2019 12:50:35
[Not After]
25.12.2019 12:50:35
[Thumbprint]
4DB2D6D86E542072F5B38A34C685EC18EDEA685A
[Signature Algorithm]
sha256RSA(1.2.840.113549.1.1.11)
[Public Key]
Algorithm: RSA
Length: 2048
Key Blob: 30 82 01 0a 02 82 01 01 00 aa ee f4 b5 e3 9e a6 ed 26 b3 b0 2a f8 a5 50 11 a9 c6 a4 ba cb 6e c3 7a 9f 03 99 74 7b c6 01 0a b9 fe a6 26 52 80 b4 80 96 a8 a0 14 8c 1b 00 4c d7 6c 79 64 f0 a3 66 db 79 96 21 e9 8b f7 45 2c 50 fd 1d aa dc f5 c6 b8 23 d1 ad 99 51 76 00 9f 2f 1e e7 23 0b cd 14 85 d4 16 f9 99 b5 b9 5c c4 a4 68 11 42 36 ac 8e 2f 1a 7b b9 13 dc 21 9a fa ca a0 24 d7 1a 3e 3b dc b7 06 f9 6a f4 04 5f 39 7e be f2 a8 dc 6b 38 f8 3d 74 20 a5 5d c1 7f d1 53 9f cd 86 c9 e3 77 dd dc f1 3c b9 10 21 98 07 02 dc b6 7f 80 23 6d 94 aa 60 06 7f 0a 6b 75 ba d6 73 fd f5 23 39 46 e3 aa b3 92 2f 51 eb 0e bd 57 96 07 bd c2 c4 84 a9 40 bb c1 5f 33 0e f2 45 2b b1 be 79 c8 3f 1e b9 46 63 56 28 95 94 c1 d8 84 e5 90 1e be e5 9c 80 56 48 d7 f8 b0 93 8d 03 54 b4 1b 74 e7 c3 89 33 0b fb 78 a1 c4 26 1e e1 02 03 01 00 01
Parameters: 05 00
Valid From: 26.09.2019 12:50:35
Valid Until: 25.12.2019 12:50:35
Error #-2146762485: unknown (try WinError.h)
https://smath.com
[Version]
V3
[Subject]
CN=smath.com
[Issuer]
CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US
[Serial Number]
0374894A16ECAAA9AE330F91E76C02628533
[Not Before]
26.09.2019 12:50:35
[Not After]
25.12.2019 12:50:35
[Thumbprint]
4DB2D6D86E542072F5B38A34C685EC18EDEA685A
[Signature Algorithm]
sha256RSA(1.2.840.113549.1.1.11)
[Public Key]
Algorithm: RSA
Length: 2048
Key Blob: 30 82 01 0a 02 82 01 01 00 aa ee f4 b5 e3 9e a6 ed 26 b3 b0 2a f8 a5 50 11 a9 c6 a4 ba cb 6e c3 7a 9f 03 99 74 7b c6 01 0a b9 fe a6 26 52 80 b4 80 96 a8 a0 14 8c 1b 00 4c d7 6c 79 64 f0 a3 66 db 79 96 21 e9 8b f7 45 2c 50 fd 1d aa dc f5 c6 b8 23 d1 ad 99 51 76 00 9f 2f 1e e7 23 0b cd 14 85 d4 16 f9 99 b5 b9 5c c4 a4 68 11 42 36 ac 8e 2f 1a 7b b9 13 dc 21 9a fa ca a0 24 d7 1a 3e 3b dc b7 06 f9 6a f4 04 5f 39 7e be f2 a8 dc 6b 38 f8 3d 74 20 a5 5d c1 7f d1 53 9f cd 86 c9 e3 77 dd dc f1 3c b9 10 21 98 07 02 dc b6 7f 80 23 6d 94 aa 60 06 7f 0a 6b 75 ba d6 73 fd f5 23 39 46 e3 aa b3 92 2f 51 eb 0e bd 57 96 07 bd c2 c4 84 a9 40 bb c1 5f 33 0e f2 45 2b b1 be 79 c8 3f 1e b9 46 63 56 28 95 94 c1 d8 84 e5 90 1e be e5 9c 80 56 48 d7 f8 b0 93 8d 03 54 b4 1b 74 e7 c3 89 33 0b fb 78 a1 c4 26 1e e1 02 03 01 00 01
Parameters: 05 00
Valid From: 26.09.2019 12:50:35
Valid Until: 25.12.2019 12:50:35
Error #-2146762485: unknown (try WinError.h)
[Version]
V3
[Subject]
CN=smath.com
[Issuer]
CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US
[Serial Number]
0374894A16ECAAA9AE330F91E76C02628533
[Not Before]
26.09.2019 12:50:35
[Not After]
25.12.2019 12:50:35
[Thumbprint]
4DB2D6D86E542072F5B38A34C685EC18EDEA685A
[Signature Algorithm]
sha256RSA(1.2.840.113549.1.1.11)
[Public Key]
Algorithm: RSA
Length: 2048
Key Blob: 30 82 01 0a 02 82 01 01 00 aa ee f4 b5 e3 9e a6 ed 26 b3 b0 2a f8 a5 50 11 a9 c6 a4 ba cb 6e c3 7a 9f 03 99 74 7b c6 01 0a b9 fe a6 26 52 80 b4 80 96 a8 a0 14 8c 1b 00 4c d7 6c 79 64 f0 a3 66 db 79 96 21 e9 8b f7 45 2c 50 fd 1d aa dc f5 c6 b8 23 d1 ad 99 51 76 00 9f 2f 1e e7 23 0b cd 14 85 d4 16 f9 99 b5 b9 5c c4 a4 68 11 42 36 ac 8e 2f 1a 7b b9 13 dc 21 9a fa ca a0 24 d7 1a 3e 3b dc b7 06 f9 6a f4 04 5f 39 7e be f2 a8 dc 6b 38 f8 3d 74 20 a5 5d c1 7f d1 53 9f cd 86 c9 e3 77 dd dc f1 3c b9 10 21 98 07 02 dc b6 7f 80 23 6d 94 aa 60 06 7f 0a 6b 75 ba d6 73 fd f5 23 39 46 e3 aa b3 92 2f 51 eb 0e bd 57 96 07 bd c2 c4 84 a9 40 bb c1 5f 33 0e f2 45 2b b1 be 79 c8 3f 1e b9 46 63 56 28 95 94 c1 d8 84 e5 90 1e be e5 9c 80 56 48 d7 f8 b0 93 8d 03 54 b4 1b 74 e7 c3 89 33 0b fb 78 a1 c4 26 1e e1 02 03 01 00 01
Parameters: 05 00
Valid From: 26.09.2019 12:50:35
Valid Until: 25.12.2019 12:50:35
Error #-2146762485: unknown (try WinError.h)
The error number says nothing, but the WinError.h file is not in the system.
$ certmgr -list -c Trust
Mono Certificate Manager - version 5.20.1.19
Manage X.509 certificates and CRL from stores.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
...
X.509 v3 Certificate
Serial Number: 08A7EC850B6A7385530100004241010A
Issuer Name: O=Digital Signature Trust Co., CN=DST Root CA X3
Subject Name: C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3
Valid From: 17.03.2016 16:40:46
Valid Until: 17.03.2021 16:40:46
Unique Hash: 3E1A1A0F6C53F3E97A492D57084B5B9807059EE057AB1505876FD83FDA3DB838
X.509 v3 Certificate
Serial Number: 6A9CEC2A512805F4DC3223342672B1D300
Issuer Name: C=US, O=Internet Security Research Group, CN=ISRG Root X1
Subject Name: C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3
Valid From: 06.10.2016 15:43:55
Valid Until: 06.10.2021 15:43:55
Unique Hash: 68A3EB01FA5F02C4D35F3A11D004CAF08B224BEEA7D79C588C7F13C86133602E
...
X.509 v3 Certificate
Serial Number: 338562026CE7910F33AEA9AAEC164A897403
Issuer Name: C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3
Subject Name: CN=smath.com
Valid From: 26.09.2019 9:50:35
Valid Until: 25.12.2019 9:50:35
Unique Hash: 6240449E353BF4643843FCE7E474F97080C987EAF7077654E69686382EA75064
Manage X.509 certificates and CRL from stores.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
...
X.509 v3 Certificate
Serial Number: 08A7EC850B6A7385530100004241010A
Issuer Name: O=Digital Signature Trust Co., CN=DST Root CA X3
Subject Name: C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3
Valid From: 17.03.2016 16:40:46
Valid Until: 17.03.2021 16:40:46
Unique Hash: 3E1A1A0F6C53F3E97A492D57084B5B9807059EE057AB1505876FD83FDA3DB838
X.509 v3 Certificate
Serial Number: 6A9CEC2A512805F4DC3223342672B1D300
Issuer Name: C=US, O=Internet Security Research Group, CN=ISRG Root X1
Subject Name: C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3
Valid From: 06.10.2016 15:43:55
Valid Until: 06.10.2021 15:43:55
Unique Hash: 68A3EB01FA5F02C4D35F3A11D004CAF08B224BEEA7D79C588C7F13C86133602E
...
X.509 v3 Certificate
Serial Number: 338562026CE7910F33AEA9AAEC164A897403
Issuer Name: C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3
Subject Name: CN=smath.com
Valid From: 26.09.2019 9:50:35
Valid Until: 25.12.2019 9:50:35
Unique Hash: 6240449E353BF4643843FCE7E474F97080C987EAF7077654E69686382EA75064
Certificates are present. Or did I misunderstand something?
#4 Posted: 10/2/2019 8:42:57 AM
#5 Posted: 10/2/2019 11:30:48 AM
Thanks for the tips, the problem was solved after I downloaded the fresh
ca-certificates file from Ubuntu repository and repeated cert-sync procedure.
In any case synchronized both from the normal user and from the superuser.
That solved the problem. I think I was missing
one of the root certificates, which is why the chain of checks was not completed.
ca-certificates file from Ubuntu repository and repeated cert-sync procedure.
In any case synchronized both from the normal user and from the superuser.
That solved the problem. I think I was missing
one of the root certificates, which is why the chain of checks was not completed.
1 users liked this post
Davide Carpi 10/2/2019 2:42:00 PM
#6 Posted: 10/2/2019 2:43:20 PM
Thank you for reporting both the issue and the solution, hope it will help someone in future 

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 Pages (6 items)
-
New Posts
-
No New Posts