Yes for both POP3 and SMTP.
I don't know where it is in Thunderbird as I don't use it, but each email account setting will have somewhere to say the server requires a secure connection (SSL), see image. This is of my OE email account settings in the Advanced section, it should give you an idea of what you are looking for but not the area.