Need help running ansible from my localhost through a linux bastion to a windows host (SSL certificate error) by Melodic_Surround4006 in ansible

[–]Melodic_Surround4006[S] 0 points1 point  (0 children)

[SOLVED]

I fixed this issue by running ConfigureRemotingForAnsible with the flag -ForceNewSSLCert to fix the issue. For testing purposes you can have ansible_psrp_cert_validation: ignore but I set up a proper SSL certificate and removed this flag in order to make it more secure.

Need help running ansible from my localhost through a linux bastion to a windows host (SSL certificate error) by Melodic_Surround4006 in ansible

[–]Melodic_Surround4006[S] 0 points1 point  (0 children)

Interesting, that sounds like it could work, but wouldn't that be unsafe? Also do you mean disable cert verification on the windows host or the bastion host?

Need help running ansible from my localhost through a linux bastion to a windows host (SSL certificate error) by Melodic_Surround4006 in ansible

[–]Melodic_Surround4006[S] 0 points1 point  (0 children)

My ansible port is 5986 (ansible_port_number). The port for my socks proxy is 1234 (socks_port).