Personal wiki of Goran Jurić


Server certificates

For information on how to create a self signed certificate take a look at just make sure that you enter your host name when asked for Common Name (eg, YOUR name) []

Now, you should have 4 files:

  • server.crt
  • server.csr
  • server.key

To create a .pem file you need to run:

cat server.crt server.key > server.pem

Since server.key and server.pem contain server key that is not encrypted you have to make sure regular users on your server can not access these files.

debian/server-certificates.txt · Last modified: 2015/03/13 23:29 (external edit)