You don’t give any information on your OS or avast version and build number ?
Since this appears to be XP related, your system info might help.

Previous versions of avast, prior to avast 10.3.2223 didn’t have support for https scanning in XP and Vista.