And yet this works on this laptop running Windows 11:

   #qqq =. gethttp 'https://code2.jsoftware.com/'
715
   qqq
curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

   JVERSION
Engine: j903/j64avx2/windows
Release-b: commercial/2022-01-28T04:09:50
Library: 9.03.08
Qt IDE: 1.9.5/5.15.2(5.15.2)
Platform: Win 64
Installer: J903 install
InstallPath: c:/d/j903
Contact: www.jsoftware.com

On the other hand,  J7.01 on my iPad (which can't support Ian's J9.02 installation),
I've got used to
<<
   gethttp'https:/code2.jsoftware.com'       NB. Raul's link in this case,  but generally true of https:...
only http:// supported
>>

But I only use gethttp as a black-box tool,  so I have nothing really useful to offer!

Cheers,

Mike

On 26/03/2022 18:59, Raul Miller wrote:
And...  looking further, (you probably already knew this), the gethttp
instance of curl uses a ca-bundle.crt rather than a
ca-cert-bundle.crt... so it actually is stale.

(I discovered this. as well as some other issues, while trying trying
some examples from https://curl.se/docs/caextract.html#)

I'll stop now.

Thanks,

--
Raul



On Sat, Mar 26, 2022 at 2:52 PM Raul Miller <[email protected]> wrote:
Looking deeper, it seems the problem here is that I am on a windows
machine which does not have a copy of ca-cert-bundle.crt anywhere that
curl can find...

FYI,

--
Raul

On Sat, Mar 26, 2022 at 2:45 PM Raul Miller <[email protected]> wrote:
Apparently the ssl certificates used by web/gethttp are stale:

    load'web/gethttp'
    gethttp 'https://code2.jsoftware.com/'
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
...

But my browser indicates that the ssl certificate on code2 is valid.

FYI,

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to