That's not really a perl question... it sounds like your wget is linked against openssl and the openssl is either not installed or not in your path.
UPDATE: Yeah, what anonymousmonk said. Why use wget from perl though? Choose WWW::Mechanize and do it in style.