[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to embed command line tools in a Gambas app for AppImages ?


Le 08/07/2024 à 20:13, Claus Dietrich a écrit :

2.    New HttpClient.SSL.CAInfo and HttpClient.SSL.CAPath

I played with is as follows:

     ...

     hClient = New HttpClient As "hClient"
    hClient.URL = "https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Gambas_3_logo.svg/480px-Gambas_3_logo.svg.png";
     hClient.Timeout = 60
     hClient.async = True
     Print "hClient.SSL.CAInfo: "; hClient.SSL.CAInfo
     Print "hClient.SSL.CAPath: "; hClient.SSL.CAPath
     hClient.SSL.CAPath = "/rubbish"
     hClient.Get()

     ....

The output of both properties were empty, setting CaPath to rubbish doesn't raise any error and the app continues to works well in the IDE and as executable. When I make an AppImage out of it I get the error message "[11] Unknown symbol 'CaInfo' in class 'Curl.SSL'. Am I on the wrong track?

Regards

Claus


You can read that too about the problem of embedding certificates inside an AppImage.

https://gitlab.com/probono/platformissues/-/blob/master/README.md#certificates

Regards,

--
Benoît Minisini.


References:
Re: How to embed command line tools in a Gambas app for AppImages ?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: How to embed command line tools in a Gambas app for AppImages ?Claus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: How to embed command line tools in a Gambas app for AppImages ?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: How to embed command line tools in a Gambas app for AppImages ?Claus Dietrich <claus.dietrich@xxxxxxxxxx>