meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| ssl:openssl [2025/01/11 14:19] – niziak | ssl:openssl [2026/04/24 12:28] (current) – niziak | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ==== CA Bundle ==== | ==== CA Bundle ==== | ||
| + | |||
| === Extract CAs form Mozilla === | === Extract CAs form Mozilla === | ||
| Direct download link [[https:// | Direct download link [[https:// | ||
| Line 39: | Line 40: | ||
| openssl rsa -noout -modulus -in privateKey.key | openssl md5 | openssl rsa -noout -modulus -in privateKey.key | openssl md5 | ||
| openssl req -noout -modulus -in CSR.csr | openssl md5 | openssl req -noout -modulus -in CSR.csr | openssl md5 | ||
| + | </ | ||
| + | |||
| + | More strict verify: | ||
| + | |||
| + | <code bash> | ||
| + | c=mysite.crt | ||
| + | k=mysite.key | ||
| + | cmp <(echo Key is valid; openssl x509 -pubkey -in $c -noout) < | ||
| </ | </ | ||
| === Generate key === | === Generate key === | ||
| + | |||
| < | < | ||
| openssl dhparam -dsaparam -out dh2048.pem 2048 | openssl dhparam -dsaparam -out dh2048.pem 2048 | ||