custom configure for ssl