openssl
Összehasonlítás
A kiválasztott és az jelenlegi változat között az alábbi különbségek fordulnak elő:
| Előző változat mindkét oldalonElőző változatKövetkező változat | Előző változat | ||
| openssl [2017/01/10 08:32] – daevidt | openssl [2018/02/22 08:43] (aktuális) – daevidt | ||
|---|---|---|---|
| Sor 21: | Sor 21: | ||
| == Check a PKCS#12 file (.pfx or .p12) == | == Check a PKCS#12 file (.pfx or .p12) == | ||
| openssl pkcs12 -info -in keyStore.p12 | openssl pkcs12 -info -in keyStore.p12 | ||
| + | |||
| + | == To find out if your certificate matches the key file == | ||
| + | To quickly make sure the files match, display the modulus value of each file: | ||
| + | openssl rsa -noout -modulus -in FILE.key | ||
| + | openssl req -noout -modulus -in FILE.csr | ||
| + | openssl x509 -noout -modulus -in FILE.cer | ||
| + | |||
| + | If everything matches (same modulus), the files are compatible public key-wise (but this does not guaranty the private key is valid). If not, one of the file is not related to the others. | ||
| + | |||
| + | === SSH-Keygen === | ||
| + | ssh-keygen -t rsa -b 4096 | ||
openssl.1484037171.txt.gz · legutóbbi módosítás: (külső szerkesztés)
