http://qs321.pair.com?node_id=1231024


in reply to Re^2: perlbrew/curl: curl: (60) Peer certificate cannot be authenticated with known CA certificates
in thread [SOLVED]: perlbrew/curl: curl: (60) Peer certificate cannot be authenticated with known CA certificates

Thanos1983, Thanks for that link to the perlbrew bug report. I read it, but do not understand the fundamental problem in this instance.

I was hoping pulling or cloning perlbrew from git and doing the initial install with whatever system Perl was available would eliminate the need for Admin. And it seems like manually installing the patchperl using curl (as is done in the last post in that thread) would run into the same problem of curl accessing the 'net. Has anyone figured out the root cause for this bug?

  • Comment on Re^3: perlbrew/curl: curl: (60) Peer certificate cannot be authenticated with known CA certificates

Replies are listed 'Best First'.
Re^4: perlbrew/curl: curl: (60) Peer certificate cannot be authenticated with known CA certificates
by thanos1983 (Parson) on Mar 08, 2019 at 12:57 UTC

    Hello again Perl300,

    Can you run this command on the node:

    $ ls -la ~/perl5/perlbrew/bin/
    On my LinuxOS installed Perlbrew from CPAN I see the following output:
    $ ls -la ~/perl5/perlbrew/bin/ total 2540 drwxrwxr-x 2 tinyos tinyos 4096 Mar 8 13:36 . drwxrwxr-x 7 tinyos tinyos 4096 Mar 8 13:36 .. -rwxr-xr-x 1 tinyos tinyos 1273042 Mar 8 13:36 patchperl -rwxr-xr-x 1 tinyos tinyos 1316905 Mar 8 13:36 perlbrew

    If you are missing the patchperl then it is exactly the same case as the perlbrew fails to install patchperl #350 that I mentioned before.

    It looks that something went wrong when you tried to download and install from git the perlbrew. Maybe it is not contain the patchperl binary, I do not know I have not looked into the repo.

    From the bug report most users are complaining that they have installed the perlbrew (they do not mention if they did it from github or by another way) but they are facing the same problem with you. It seems that all are missing the patchperl binary.

    So if I was you I would look at the dir ~/perl5/perlbrew/bin/, if the binary is not there then you need to manually install is as is mentioned in the bug through:

    $ curl https://raw.githubusercontent.com/gugod/patchperl-packing/maste +r/patchperl > ~/perl5/perlbrew/bin/patchperl

    But as I said, even you do this and perlbrew it starts working maybe at some other point you will face another problem. So from my point of view ask the Admin to update CPAN and install the package and all dependencies through the official way perlbrew:

    sudo cpan App::perlbrew perlbrew init

    There are dependencies of the package requires that the repo might not include.

    I would start by the directory and then if the binary is missing go step by step troubleshooting and try to get it to work.

    Looking forward to your update. BR / Thanos

    Seeking for Perl wisdom...on the process of learning...not there...yet!