welcome: please sign in

Diff for "MemberManual/ServingWebsites/SslCert"

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2005-08-08 02:35:31
Size: 188
Editor: AdamChlipala
Comment:
Revision 3 as of 2007-11-12 03:43:01
Size: 510
Editor: MichaelOlson
Comment: Make part of member manual
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from UsingSsl
Line 6: Line 7:

If 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:

{{{
openssl req -x509 -newkey rsa:1024 -keyout file.pem -out file.pem -days 9999 -nodes
}}}

To create a self-signed SSL cerificate in file.crt with key in file.key, you can run:

openssl req -x509 -newkey rsa:1024 -keyout file.key -out file.crt -days 9999 -nodes

If 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:

openssl req -x509 -newkey rsa:1024 -keyout file.pem -out file.pem -days 9999 -nodes

MemberManual/ServingWebsites/SslCert (last edited 2022-01-15 06:48:28 by JesseShumway)