Fix --insecure warnings