Understanding the Role of Certificates in IoT Security