Warnings even placed frced SSL

I have set
[Custom settings]
force_ssl = 1
force_ssl_login = 1

Even this code inside config will show up warnings like missing element.

force_ssl needs to be in the general section to work. What problem do you have specifically?