~cdrozak/cdro-wiki

fb4707bd62036fdb7bbf02c890ecc4a7f150ff2f — Cezary Dro┼╝ak a month ago ed5a447 wiki
keys-and-certificates: add "Inspecting a certificate" section
1 files changed, 10 insertions(+), 1 deletions(-)

M keys-and-certificates.md
M keys-and-certificates.md => keys-and-certificates.md +10 -1
@@ 2,7 2,6 @@
title: Keys and certificates
---


# GPG

## Generating a new key pair


@@ 73,3 72,13 @@ Source: https://wiki.archlinux.org/title/GnuPG#Extending_expiration_date
   ```

Source: https://superuser.com/questions/1526283/how-to-revoke-a-gpg-key-and-upload-in-gpg-server/1526287#1526287

# OpenSSL

## Inspecting a certificate

Use the following command:

```shell
openssl x509 -inform pem -noout -text -in "$certificate_path"
```