Hi all.
Spent most of the day on this part of the upgrade. Would appreciate some help, please!
Running on Ubuntu 22.04, installed ubuntu-flavoured rvm v1.29.12 from GitHub - rvm/ubuntu_rvm: Ubuntu package for RVM as well as the packaged openssl v1.0.1i from the same place, and ruby v2.7.2p137 installed okay.
Done ‘git checkout Gemfile.lock’ in diaspora folder.
steve@pod:~/diaspora$ git checkout Gemfile.lock
Updated 1 path from the index
Done ‘git pull’.
Done ‘script/configure_bundler’
steve@pod:~/diaspora$ script/configure_bundler
Configuring Bundler for production environment and mysql database.
$ bin/bundle config --local jobs 4
$ bin/bundle config --local with mysql
$ bin/bundle config --local without test:development
$ bin/bundle config --local ignore_messages true
$ bin/bundle config --local path vendor/bundle
$ bin/bundle config --local frozen true
$ bin/bundle config --local disable_shared_gems true
Bundler configured! Please run 'bin/bundle install' now.
Problem with ‘bin/bundle --full-index’ command…
steve@pod:~/diaspora$ bin/bundle --full-index
Fetching source index from https://gems.diasporafoundation.org/
Retrying fetcher due to error (2/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://gems.diasporafoundation.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying fetcher due to error (3/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://gems.diasporafoundation.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying fetcher due to error (4/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://gems.diasporafoundation.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Could not verify the SSL certificate for https://gems.diasporafoundation.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA
certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect
without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Same errors if I try ‘bin/bundle install’.
Can someone please help me get past this step?
I’ve tried:
- creating a .gemrc with ‘:ssl_verify_mode: 0’ with only partial success.
- changing all occurrences of https to http in Gemfile and Gemfile.lock with only partial success
- going to https://gems.diasporafoundation.org and trying the ‘gem sources -a https://gems.diasporafoundation.org/’ command but…
I still end up with SSL verification errors.
Anyone help. Please?
Thanks,
Steve