Selbstsigniertes Zertifikat: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
| − | = | + | ==CA erstellen== |
| − | + | *openssl req -new -x509 -newkey rsa:4096 -nodes -keyout ca.key -out ca.crt -days 3650 -subj "/CN=ca.crt" | |
| − | + | ==Request und Privaten Key erstellen== | |
| − | = | + | *openssl req -new -newkey rsa:4096 -nodes -keyout fw.it1xx.int.key -out www.it1xx.int.csr -subj "/CN=www.it1xx.int" |
| − | |||
| − | *openssl req -new - | ||
| − | |||
| − | |||
| − | == | ||
| − | *openssl req -new - | ||
=Normale Signierung= | =Normale Signierung= | ||
| − | *openssl x509 -req -days 730 -in | + | ==Signierung== |
| + | *openssl x509 -req -days 730 -in fw.it1xx.int.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out www.it1xx.int.crt | ||
Version vom 22. April 2025, 12:52 Uhr
CA erstellen
- openssl req -new -x509 -newkey rsa:4096 -nodes -keyout ca.key -out ca.crt -days 3650 -subj "/CN=ca.crt"
Request und Privaten Key erstellen
- openssl req -new -newkey rsa:4096 -nodes -keyout fw.it1xx.int.key -out www.it1xx.int.csr -subj "/CN=www.it1xx.int"
Normale Signierung
Signierung
- openssl x509 -req -days 730 -in fw.it1xx.int.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out www.it1xx.int.crt