Skip to content

Instantly share code, notes, and snippets.

@wjsl
Created December 4, 2019 06:31
Show Gist options
  • Save wjsl/9b8afc489642e8b79e789bc3dec06da0 to your computer and use it in GitHub Desktop.
Save wjsl/9b8afc489642e8b79e789bc3dec06da0 to your computer and use it in GitHub Desktop.
sudo perl -pi -e "s/\[security\]/\[security\]\nforce_https_protocol=PROTOCOL_TLSv1_2/g" /etc/ambari-agent/conf/ambari-agent.ini
sudo perl -pi -e "s/platform_default/disable/g" /etc/python/cert-verification.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment