admintasks:makecert
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| admintasks:makecert [2008/05/18 23:58] – external edit 127.0.0.1 | admintasks:makecert [2014/08/14 14:02] (current) – [server certificate] hop | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| <code bash> | <code bash> | ||
| - | openssl genrsa -des3 -out private/ | + | openssl genrsa -des3 -out private/ |
| openssl req -new -x509 -days 3650 -key private/ | openssl req -new -x509 -days 3650 -key private/ | ||
| </ | </ | ||
| Line 15: | Line 15: | ||
| cd /etc/ssl/ | cd /etc/ssl/ | ||
| - | openssl genrsa -out $SITE.key | + | openssl genrsa -out $SITE.key |
| - | openssl req -new -key $SITE.key -out $SITE.csr | + | openssl req -new -sha256 |
| openssl ca -out $SITE.crt -infiles $SITE.csr | openssl ca -out $SITE.crt -infiles $SITE.csr | ||
| Line 25: | Line 25: | ||
| </ | </ | ||
| - | Probleme: | + | oder: |
| + | <code bash> | ||
| + | openssl req -new -sha256 -subj /CN=$SITE -newkey rsa:2048 -nodes -keyout $SITE.key -out $SITE.csr | ||
| + | </ | ||
| - | * Backspace tut nicht | + | self sign: |
| + | <code bash> | ||
| + | openssl x509 -req -days 3650 -in $SITE.csr -signkey $SITE.key -out $SITE.crt | ||
| + | </ | ||
| httpd.conf: | httpd.conf: | ||
| Line 35: | Line 41: | ||
| SSLCertificateKeyFile / | SSLCertificateKeyFile / | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== CSR für CACert mit SubAltNames ===== | ||
| + | |||
| + | http:// | ||
| + | |||
admintasks/makecert.1211155085.txt.gz · Last modified: 2010/11/18 20:17 (external edit)
