Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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 ( #1231051=note: print w/replies, xml ) Need Help??


in reply to Re^3: 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

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!
  • Comment on Re^4: perlbrew/curl: curl: (60) Peer certificate cannot be authenticated with known CA certificates
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2022-11-29 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?