secure server instructions

how to make private keys for secure server?