TLS may have no options selected, breaking generated .conf

Ticket:	#3526