almost have the basic server implemented, need to generate key and cert differently