Skip to main content

Tips & tricks en vrac

Je pose ici en vrac tous les tips & trucks que je peux trouver utiles et qui ne rentrent dans aucune autre catégorie sur la KB. 

Certificats

Compiler PK + certificats en PFX

Compiler PK + cert dans un PFX
openssl pkcs12 -export -out domain.name.pfx -inkey domain.name.key -in domain.name.crt

Avec le cert root CA et intermediaire
openssl pkcs12 -export -out domain.name.pfx -inkey domain.name.key -in domain.name.crt -in intermediate.crt -in rootca.crt

Check a certificate

Check a certificate and return information about it (signing authority, expiration date, etc.):

openssl x509 -in server.crt -text -noout

Check a key

Check the SSL key and verify the consistency:

openssl rsa -in server.key -check

Check a CSR

Verify the CSR and print CSR data filled in when generating the CSR:

openssl req -text -noout -verify -in server.csr

Verify a certificate and key matches

These two commands print out md5 checksums of the certificate and key; the checksums can be compared to verify that the certificate and key match.

openssl x509 -noout -modulus -in server.crt | openssl md5
openssl rsa -noout -modulus -in server.key | openssl md5

Windows en général 

Désinstaller Edge 

Dans le dossier

C:\Program Files (x86)\Microsoft\Edge\Application\101.0.1210.32\Installer

 ou 101.0.1210.32 = version de Edge installée

setup.exe --uninstall --system-level --verbose-logging --force-uninstall