Please create code in CHN to detect what method of CERT deployment was available (self-signed or valid) and adjust deployment wget command to reflect