test
[hcoop/zz_old/ikiwiki] / UsingSsl.mdwn
CommitLineData
ee25310d 1To create a self-signed SSL cerificate in `file.crt` with key in `file.key`, you can run:\r
2\r
3{{{\r
4openssl req -x509 -newkey rsa:1024 -keyout file.key -out file.crt -days 9999 -nodes\r
5}}}\r
6\r
7If you are creating an SSL certificate to use for a web virtual host via domtool, then you should generate a single output file instead of separate `.crt` and `.key` files. For example:\r
8\r
9{{{\r
10openssl req -x509 -newkey rsa:1024 -keyout file.pem -out file.pem -days 9999 -nodes\r
11}}}\r