Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by thechartist (Monk)
on Mar 07, 2019 at 18:15 UTC ( #1231024=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1231024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2020-10-25 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?