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


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

Thank you thanos1983 and thechartist for your responses. I'll try both and inform here result.

Updating curl and ca-certs might take some time as I don't have root on this box but I'll get an admin to do it.

thechartist can you please give me some instructions on how you did it from git? I did git clone https://github.com/gugod/App-perlbrew.git It created App-perlbrew directory under my home directory. But then perlbrew init is failing with `-bash: perlbrew: command not found`

I tried running perlbrew init from my home directory as well as after doing cd App-perlbrew It gives same error: command not found

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

    You have to cd into the App-perlbrew directory. To install perlbrew the first time on the machine, do the following:

    $ git clone https://some.valid.perlbrew.url/ $ cd App-perlbrew $ perl perlbrew self-install $ perlbrew init
    IIRC, if this is the very first time initializing perlbrew, you will need to use system perl to run the script. Once perlbrew is running, you should be able to just run:
    $ cd App-perlbrew $ git pull $ perlbrew self-upgrade $ perlbrew init
    I've never had any problems, but since your perlbrew is already in git, you can go back to an older version if necessary.