Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdauphant/patch-openssl-CVE-2014-0160
Patch openssl #heartbleed with ansible
https://github.com/jdauphant/patch-openssl-CVE-2014-0160
Last synced: about 1 month ago
JSON representation
Patch openssl #heartbleed with ansible
- Host: GitHub
- URL: https://github.com/jdauphant/patch-openssl-CVE-2014-0160
- Owner: jdauphant
- License: bsd-2-clause
- Created: 2014-04-08T09:19:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-02T12:20:51.000Z (about 10 years ago)
- Last Synced: 2024-08-03T17:10:28.379Z (5 months ago)
- Size: 153 KB
- Stars: 19
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ansible - Heartbleed OpenSSL Patch - A simple playbook that update OpenSSL for Debian system. (Playbooks)
README
patch-openssl-CVE-2014-0160
===========================Patch openssl #heartbleed with ansible
# Usage :
pip install ansible
ansible-playbook -i your_inventory_file patch-openssl-CVE-2014-0160.ymlyour_inventory_file just need to contain your server list :
```
192.168.0.10
webserver1.example.com
webserver2.example.com
db1.example.com
```# Support
- Upgrade openssl on Debian Family OS
- Restart some services impacted# To Do
- Restart more service
- Regenerate SSL certificats
- Support more OS# Test if you need to patch
```
% openssl version -a
OpenSSL 1.0.1 14 Mar 2012
built on: Tue Aug 21 05:18:48 UTC 2012
-> you need to patch (the date of build is before 7 april 2014)
% openssl version -a
OpenSSL 1.0.1 14 Mar 2012
built on: Mon Apr 7 20:33:29 UTC 2014
-> you system is normaly patched (the date of build is after 7 april 2014)# openssl s_client -connect twitter.com:443 -tlsextdebug 2>&1| grep 'server extension "heartbeat" (id=15)'
TLS server extension "heartbeat" (id=15), len=1
-> If you use openssl, you have heartbeat activated, you could need to patch# openssl s_client -connect cloudflare.com:443 -tlsextdebug 2>&1| grep 'server extension "heartbeat" (id=15)'
-> cloudflare is patched
```# More information
- CVE-2014-0160
- http://heartbleed.com/
- https://www.openssl.org/news/secadv_20140407.txt# Author
Julien DAUPHANT