문제

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