Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline andreyrogojin  
#1 Posted : 30 September 2019 18:35:42(UTC)
andreyrogojin

Rank: Newbie

Groups: Registered
Joined: 30/09/2019(UTC)
Posts: 4
Russian Federation
Location: Sochi

Was thanked: 1 time(s) in 1 post(s)
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?
Offline Davide Carpi  
#2 Posted : 30 September 2019 20:18:54(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,221
Man
Italy
Location: Italy

Was thanked: 1123 time(s) in 733 post(s)
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
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline andreyrogojin  
#3 Posted : 02 October 2019 13:09:38(UTC)
andreyrogojin

Rank: Newbie

Groups: Registered
Joined: 30/09/2019(UTC)
Posts: 4
Russian Federation
Location: Sochi

Was thanked: 1 time(s) in 1 post(s)
Really have a problem, but the reasons did not understand.

$ mono TlsTest.exe --web https://smath.com

The error number says nothing, but the WinError.h file is not in the system.

$ certmgr -list -c Trust

Certificates are present. Or did I misunderstand something?
Offline Davide Carpi  
#4 Posted : 02 October 2019 14:42:57(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,221
Man
Italy
Location: Italy

Was thanked: 1123 time(s) in 733 post(s)
Error code number took me here, then following the exadecimal value I found this...
- windows
- mono (seems related to mono <3.6)

Edited by user 02 October 2019 15:03:53(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline andreyrogojin  
#5 Posted : 02 October 2019 17:30:48(UTC)
andreyrogojin

Rank: Newbie

Groups: Registered
Joined: 30/09/2019(UTC)
Posts: 4
Russian Federation
Location: Sochi

Was thanked: 1 time(s) in 1 post(s)
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.
thanks 1 user thanked andreyrogojin for this useful post.
on 02/10/2019(UTC)
Offline Davide Carpi  
#6 Posted : 02 October 2019 20:43:20(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,221
Man
Italy
Location: Italy

Was thanked: 1123 time(s) in 733 post(s)
Thank you for reporting both the issue and the solution, hope it will help someone in future Good
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.