[openssl]SHA-2 sertifika uretmek

SHA-1 ‘de ki zayifliklardan dolayi SHA-2 kullanilmalidir. Asagidaki gibi yeniden sertifika olusturabilirsiniz.

openssl req -new -sha256 -key murat.ws.key -out murat.ws.csr

Asagidaki komut ile de konsoldan test edebilirsiniz.

murat ~ # openssl s_client -connect cloud.murat.ws:443 < /dev/null 2>/dev/null | openssl x509 -text -in /dev/stdin | grep “Signature Algorithm”
Signature Algorithm: sha256WithRSAEncryption
Signature Algorithm: sha256WithRSAEncryption


Your email address will not be published. Required fields are marked *