質問

Im trying to use wget to download content over https from a self-signed ubuntu host in our LAN. of course wget doesnt allow that, and in all the answers I've found they promoted using the: --no-check-certificate, this will expose me to "man in the middle" attacks. since I know the destination host, and have access to its certs is there a way to add the host to a "trusted" list, so that its certificate will be validated against a local copy?

thanks

役に立ちましたか?

解決

You are most likely looking for the --ca-certificate parameter.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top