Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Perl300 (Friar)
on Mar 08, 2019 at 15:30 UTC ( [id://1231057]=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

Thank you thanos1983 for sharing the link. The solution there worked for me as well.

patchperl was missing from ~/perl5/perlbrew/bin/

So I did:

curl https://raw.githubusercontent.com/gugod/patchperl-packing/master/patchperl > ~/perl5/perlbrew/bin/patchperl

And then

[~]$ perlbrew install perl-5.28.1

This time it worked and installed perl-5.28.1.

Somehow `perlbrew available` still doesn't work but that's not a big deal for me. I'll know the version number that is available and if I want to install it or not.

[~]$ perlbrew available ERROR: Unable to retrieve the list of perls. [~]$
  • Comment on Re^3: perlbrew/curl: curl: (60) Peer certificate cannot be authenticated with known CA certificates
  • Select or Download Code

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

    Sounds like there was a variable not set as you had to install patchperl manually. If I were in your spot, I would run the upgrade procedure to see if I could get

    perlbrew available

    working. I would also see if I could get

    perlbrew list

    to work as well. If they still didn't work, then I would concede and finally get the Admin to look at the problem.

      perlbrew list does show installed version (I was also able to switch to this latest version)

      [~]$ perlbrew list * perl-5.28.1 [~]$

      But perlbrew self-upgrade or perlbrew install-cpanm are failing. This concerns me and I think I'll have to get an Admin to help me.

      [~]$ perlbrew self-upgrade Unable to detect version of new perlbrew! [~]$ perlbrew install-cpanm ERROR: Failed to retrieve cpanm executable. [~]$

        One last shot at trying to save the Admin time. I would run:

        $ cd App-perlbrew $ git pull $ perlbrew self-install $ perlbrew init

        Then, I would re-run the perlbrew available commands.

        If THAT did not work, I would suspect a problem higher up in the trusted computing base -- one that I did not have appropriate permissions to solve.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-20 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found