IP address allocation based on certificate attributes