get correct path to server key and cert