resolver: Actually set port in resulting ca's