Net::SSL::ExpireDate get certificate from network (SSL) or local file and obtain
its expiration date.