Skip to content

Commit

Permalink
ansible,win: disable SSLv2 and SSLv3
Browse files Browse the repository at this point in the history
Following Azure security recommendations.

PR-URL: #2099
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
  • Loading branch information
joaocgreis committed Jan 2, 2020
1 parent 360cd75 commit fee9565
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ansible/roles/bootstrap/tasks/partials/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,23 @@
name: AutoAdminLogon
data: 1
type: string

# Comply with Azure security recommendations
# After changing anything in this list check if the following still work:
# - Windows Update
# - PowerShell remoting (for Ansible connections)
# - RDP from Windows
# - RDP from Remmina
- block:
- name: disable SSL 2.0
win_regedit:
path: 'HKLM:\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server'
name: Enabled
data: 0
type: dword
- name: disable SSL 3.0
win_regedit:
path: 'HKLM:\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server'
name: Enabled
data: 0
type: dword

0 comments on commit fee9565

Please sign in to comment.