Software⏱️ 2 min read📅 2026-05-31
How to Fix: bundle install fails with SSL certificate verification error
Bundler fails with SSL certificate verification error on CentOS 5.5, manual gem install succeeds.
Quick Answer: Update the system's OpenSSL version to a compatible one or use the --skip-verify option when running bundle install.
To resolve the SSL certificate verification error when running bundle install, follow these proven troubleshooting steps:
🔧 Proven Troubleshooting Steps
Method 1: Update Bundler and Gems
- Step 1: Run
bundler update --forceto ensure you're using the latest version of Bundler.
Method 2: Install SSL Certificates
- Step 1: Run
sudo yum install nssto install the OpenSSL library.
Method 3: Disable SSL Verification
- Step 1: Run
bundle config set --local https://rubygems.org cert:noneto disable SSL verification.
If none of the above methods resolve the issue, you may need to investigate further and try updating your system's OpenSSL library or using a different RubyGems mirror.
❓ Frequently Asked Questions
Step 1: Run bundler update --force to ensure you're using the latest version of Bundler.
Step 1: Run sudo yum install nss to install the OpenSSL library.
Step 1: Run bundle config set --local https://rubygems.org cert:none to disable SSL verification.
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Pc crashes shortly after launching game, possible cause: outdated grap
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: FPS drops
FPS drops in games can be caused by high system resource usage, outdat