Cheat Sheets
Quick-reference guides for common tools and commands
OpenSSL
Having the correct tool for the job is critical and when managing one’s PKI infrastructure, openssl is often the first command reached for in one’s toolbox and for good reason. Modulus View the modulus of a certificate openssl x509 -in <certificate> -modulus -noout View the Modulus of a Key openssl rsa -in <keyfile> -noout -modulus Certificates View the entire certificate chain openssl crl2pkcs7 -nocrl -certfile server_bundle.pem | openssl pkcs7 -print_certs -noout
Powershell
Volume Management | Get-Disk | List all Physical Disks | Get-Volume | List all Volumes | New-Parition -DiskNumber X -UseMaxiumSize | Create new partition | Format-Volume -DriveLetter X -FileSystem NTFS | Format volume Quickly |Initialize-Disk -Number X -PartitionStyle GPT | Initialize Disk with GPT | Set-Partition -DriveLetter X -NewDriveLetter E | Changer / Assign Drive Letter | msiexec.exe | install msi | | Start-Process | Run Process within Windows Powershell | https://learn.