fix for using real SSL certificates