I did that. Am getting some certificate related errors.

I just checked the connection with other windows power shell as follows.


PS C:\Users\sindhu.p> winrs -r:https://ipaddress:5986/wsman -u:username 
-p:password ipconfig

Error : 

Winrs error:The server certificate on the destination computer (
10.67.104.45:5986 
<http://www.google.com/url?q=http%3A%2F%2F10.67.104.45%3A5986&sa=D&sntz=1&usg=AFQjCNGbPspFWnu-c2p7l4Fbl4njC8yq4g>)
 
has the following errors:
The SSL certificate is signed by an unknown certificate authority.
The SSL certificate contains a common name (CN) that does not match the 
hostname. 
- show quoted text -




On Friday, January 18, 2019 at 7:46:17 PM UTC+5:30, Rahamath Ulla wrote:
>
> There is a PS script which will set required winrm settings (auth to 
> basic). You need to run that script on windows host.
>
> On Fri 18 Jan, 2019, 20:47 sindhu shree <[email protected] 
> <javascript:> wrote:
>
>> Execution policy has set to Unrestricted  (Using Set-ExecutionPolicy 
>> -ExecutionPolicy Unrestricted -Force), still the same.
>>
>> On Friday, January 18, 2019 at 6:08:10 PM UTC+5:30, Dinesh Singh wrote:
>>>
>>> Also enable remote execution policy on your windows server.
>>>
>>> With Regards,
>>> Dinesh Singh
>>> Email - [email protected]
>>>
>>>
>>> On Fri, Jan 18, 2019, 5:59 PM sindhu shree <[email protected] wrote:
>>>
>>>> Hi.
>>>> Am facing some authentication issues when i run  ansible all -m 
>>>> win_ping. Response - 10.67.104.45 | UNREACHABLE! => {
>>>>     "changed": false,
>>>>     "msg": "basic: the specified credentials were rejected by the 
>>>> server",
>>>>     "unreachable": true
>>>> }
>>>>
>>>> The user which am trying to connect is administrator user. I followed 
>>>> some steps to add user and change the permissions using 
>>>>
>>>> winrm configSDDL default, but no luck. 
>>>> Am using basic authentication. 
>>>>
>>>> Am new to Linux , i would appreciate if i get any help on this. 
>>>>
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Ansible Project" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/ansible-project/903eaa26-07ef-4c09-97ed-c6c446856378%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/ansible-project/903eaa26-07ef-4c09-97ed-c6c446856378%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/a1c29c47-f70e-4779-8131-354421ecc02b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/a1c29c47-f70e-4779-8131-354421ecc02b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/de97de61-da19-4582-b5c2-0016320e7b19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to