If we are not working in insecure mode and certificate not
supplied we should work still in secured mode, because secure
mode can work even without certificate supplied (loaded to ca-store)
Change-Id: If3471fc8621a774a1f752cd6b84509e7128b0146
Closes-bug: #1720783