Challenges and Solutions in Certificate Management and Automation for Mobile Devices