linux:verschluesselung:openssl
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:verschluesselung:openssl [2025/03/19 19:41] – [Reihenfolge einer Chain] gsys | linux:verschluesselung:openssl [2026/10/12 16:25] (current) – [Zertifikat erstellen] gsys | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| openssl x509 -in mail.example.com.pem -noout -text # Check contents of cert file | openssl x509 -in mail.example.com.pem -noout -text # Check contents of cert file | ||
| + | openssl s_client -connect example.com: | ||
| openssl s_client -connect mail.example.com: | openssl s_client -connect mail.example.com: | ||
| openssl s_client -connect mail.example.com: | openssl s_client -connect mail.example.com: | ||
| Line 120: | Line 120: | ||
| openssl x509 -inform der -in certificate.cer -out certificate.pem | openssl x509 -inform der -in certificate.cer -out certificate.pem | ||
| openssl pkcs7 -inform der -in cacert.p7b -out cacert.pem | openssl pkcs7 -inform der -in cacert.p7b -out cacert.pem | ||
| + | </ | ||
| + | |||
| + | Permissions | ||
| + | < | ||
| + | chmod 700 private | ||
| + | chmod 600 private.key | ||
| + | chmod 755 certs #public certs folder | ||
| + | chmod 644 cert.pem | ||
| </ | </ | ||
| Line 132: | Line 140: | ||
| openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out default.crt -keyout default.key | openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out default.crt -keyout default.key | ||
| openssl dhparam -out / | openssl dhparam -out / | ||
| + | |||
| + | openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve: | ||
| + | -nodes -keyout example.com.key -out example.com.crt -subj "/ | ||
| + | -addext " | ||
| </ | </ | ||
linux/verschluesselung/openssl.1742409710.txt.gz · Last modified: by gsys