Reduce the number of hardcoded ssl ports by 50%