#!/bin/bash # Allow Windows Updates # Microsoft uses cert trusted only by Windows for Microsoft reasons tmp_cert=$(mktemp) curl -L 'http://go.microsoft.com/fwlink/?linkid=747875&clcid=0x409' > "$tmp_cert" sudo mv "$tmp_cert" '/etc/pki/ca-trust/source/anchors/Microsoft_Root_Certificate_Authority_2011.cer' sudo update-ca-trust enable sudo update-ca-trust extract