User Tools

Site Tools


пакет_openssl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
пакет_openssl [2025/11/01 09:12]
val [Проверка соответствия ключа и сертификата]
пакет_openssl [2025/11/06 09:26] (current)
val [Просмотр содержимого файла сертификата]
Line 116: Line 116:
  
 $ cat ~/​.kube/​config | grep client-certificate-data | cut -f2 -d : | tr -d ' ' | base64 -d | openssl x509 -text -out - $ cat ~/​.kube/​config | grep client-certificate-data | cut -f2 -d : | tr -d ' ' | base64 -d | openssl x509 -text -out -
 +
 +</​code><​code>​
 +...
 +        Issuer: ...
 +...
 +        Subject: ...
 +...
 </​code>​ </​code>​
  
Line 362: Line 369:
  
 ==== Проверка соответствия ключа и сертификата ==== ==== Проверка соответствия ключа и сертификата ====
 +
 +  * [[https://​www.ssl.com/​faqs/​how-do-i-confirm-that-a-private-key-matches-a-csr-and-certificate/​|How to Verify an RSA Private Key Matches a CSR and Certificate]]
 +
 <​code>​ <​code>​
 $ openssl x509 -noout -modulus -in www.crt | openssl sha256 $ openssl x509 -noout -modulus -in www.crt | openssl sha256
пакет_openssl.1761977555.txt.gz · Last modified: 2025/11/01 09:12 by val