Skip to content

Instantly share code, notes, and snippets.

@hannesbe
Created January 25, 2016 21:35
Show Gist options
  • Save hannesbe/5ef2cca5a305b107713b to your computer and use it in GitHub Desktop.
Save hannesbe/5ef2cca5a305b107713b to your computer and use it in GitHub Desktop.
Quick & dirty fix for the "Unknown cipher in list: TLSv1" error in Magento 1.9.2 on CentOS. Run from Magento directory.
#!/bin/bash
sed -i '377s#.*#// $this->curlOption(CURLOPT_SSL_CIPHER_LIST, ''TLSv1'');#' downloader/lib/Mage/HTTP/Client/Curl.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment