Problem with Raku and SSL on Windows Machine

Wah*_*ger 7 openssl ssl-certificate cro raku

I just installed perl6 on windows server and windows 7.

I want to port a script which is already running on openbsd to a windows machine.

I tested this code:

my $resp = await Cro::HTTP::Client.get('https://www.perl6.org/');
Run Code Online (Sandbox Code Playgroud)

And I'll get is this on both Windows machines:

C:\Users\Matthias\CommaProjects\testing>perl6 cro.pl6
Tried to get the result of a broken Promise
  in block  at C:\rakudo\share\perl6\site\sources\0609EA0BB03C70C2C15DB4B144D704
1C1059D14C (Cro::TLS) line 108

Original exception:
    An operation first awaited:
      in block  at C:\rakudo\share\perl6\site\sources\A4ECA701FE96A8456AEB83692D
6B3C55AAFC964C (IO::Socket::Async::SSL) line 322

    Died with the exception:
        Server certificate verification failed: unable to get local issuer certificate
          in block  at C:\rakudo\share\perl6\site\sources\A4ECA701FE96A8456AEB83
692D6B3C55AAFC964C (IO::Socket::Async::SSL) line 322
Run Code Online (Sandbox Code Playgroud)

Does somebody can give an hint how to get this running?

Edit: I have also tested WWW with TLS which is running well:

use WWW;
say get 'https://httpbin.org/get?foo=42&bar=x', :SomeHeader<Value>;
Run Code Online (Sandbox Code Playgroud)

Wah*_*ger 2

已经确认对应的库存在一些Issue。所以我认为这里的这个Feed可以被视为已解决。进一步的讨论将在该库的 github 空间上进行:

https://github.com/jnthn/p6-io-socket-async-ssl/

非常感谢乔纳森!