developing automatic generation of self-signed certificate for https