python3 migration and https management