Nivasa

updated

5 years ago

N

Nivasa

2 Posts

0

1294

July 30th, 2021 06:00

Ansible linux control system trying to ping windows Server 2016 getting error "msg": "plaintext: the specified credentials were

Hi,

Ansible running in Linux server trying to ping Windows server 2016 getting below error but i am able to ping from terminal.

us1 | UNREACHABLE! => {
"changed": false,
"msg": "plaintext: the specified credentials were rejected by the server",
"unreachable": true

Tried changing below options, still same issue.

winrm set winrm/config/client/auth '@{Basic="true"}'
winrm set winrm/config/service/auth '@{Basic="true"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'

Can somebody help me here.

Thanks in advance.

Sreeni

 

 

 

 

  • Nivasa

    2 Posts

    881

    0

    Posted August 12th, 2021 04:00

    Hi All,

    Got a solution, It is certificate issue.