Major bug fix where devices were not connecting.

certificate accepting