Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8804571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:38:28+00:00 2026-06-14T01:38:28+00:00

I’m trying to update rvm on a Debian server : rvm get stable but

  • 0

I’m trying to update rvm on a Debian server :

rvm get stable

but I got the folowing error :

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here : http://curl.haxx.se/docs/sslcerts.html

I installed this servers about 5 month ago and everything was working fine, but it seems that something changed on the certificate of https://rvm.io

So I managed to download a new bundle certificate (cacert.pem in my user directory) :

wget http://curl.haxx.se/ca/cacert.pem

And try a different command as the official doc says, but with a option for the certificate file to use :

\curl --cacert ./cacert.pem -L https://get.rvm.io | bash -s stable # update to stable

Things moved a bit forward. Unfortunately later on, rvm run again curl during the install process and I got again the same error.

So I was wondering where to put my cacert.pem file to replace theone used by cURL ?

I tried as well other technics :
creating a .curlrc file containing cacert = ~/cacert.pem
but I got an error :
CAfile: cacert.pem
CApath: /etc/ssl/certs

So I tried to copy my cacert.pem in /usr/share/ca-certificates/cacert.org
and made a sym link in /etc/ssl/certs that point to /usr/share/ca-certificates/cacert.org/cacert.pem

But, when I

rvm get stable

I got the error :

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here : http://curl.haxx.se/docs/sslcerts.html

I also tried this below, without different result though :

sudo update-ca-certificates -f

So I am wondering where to put my cacert.pem file ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:38:29+00:00Added an answer on June 14, 2026 at 1:38 am

    Ok, I managed to make it works, but I’m not very happy with my solution.

    First mistake I was making is that the instruction in the .curlrc file was incorrect.
    We should use this file the same way we specify options to the “curl” command.
    So I removed the “equal sign” :

    cacert /home/user_me/cacert.pem
    

    With this I was able to make the first part of the command to work :

    \curl -L https://get.rvm.io | bash -s stable
    

    The bash part was still failing because rvm was using curl again in root mode.

    So I copied my .curlrc file as well into the /root folder.

    And it worked !
    I could even call the standard rvm command :

    rvm get stable
    

    But this is a bit tricky, and I would prefer that curl use my cacert.pem file without all those .curlrc files.

    Googling more, I found some usefull information here and here.
    The first reference has a little mistake :
    When I read the man page of “sudo update-ca-certificates –fresh” command, I realized the guy was puting his file at wrong place.

    You have to put your certificate into /usr/share/ca-certificates folder instead of /usr/local/share/ca-certificates , and then append a line for your certificate into the configuration file /etc/ca-certificates.conf (e.g., “my_ca.crt“).
    Then you may run your “sudo update-ca-certificates –fresh” command.

    Note : If you copy your certificate to the /usr/local/share/ca-certificates instead, then you don’t need anymore to modify the /etc/ca-certificates.conf configuration file nor run the “sudo update-ca-certificates –fresh” command.

    However in my case, for the first solution (/usr/share/ca-certificates) I got an error when I ran the “sudo update-ca-certificates –fresh” command.
    As second solution, I tried just to put my certificate into /usr/local/share/ca-certificates. But it didn’t work.

    So I gave up and I kept my two .curlrc files.

    So if anybody could point what I was doing wrong, I would be very grateful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I've got a string that has curly quotes in it. I'd like to replace
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.