meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ssl:openssl [2023/06/21 11:56] – niziak | ssl:openssl [2026/04/24 12:28] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== OpenSSL ====== | ||
| + | |||
| ====== RSA keys ====== | ====== RSA keys ====== | ||
| <code bash> | <code bash> | ||
| Line 8: | Line 10: | ||
| ==== CA Bundle ==== | ==== CA Bundle ==== | ||
| + | |||
| === Extract CAs form Mozilla === | === Extract CAs form Mozilla === | ||
| Direct download link [[https:// | Direct download link [[https:// | ||
| Line 37: | 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 | ||