Added checking for prv/pub keys in serverconfig.